forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TQtRConfig.h
62 lines (51 loc) · 1.57 KB
/
TQtRConfig.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// Author: Valeri Fine 28/06/2004
/*************************************************************************
* Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
* Copyright (C) 2004 by Valeri Fine. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TQTRCONFIG
#define ROOT_TQTRCONFIG
#include "RConfig.h"
#ifndef __CINT__
# include "qglobal.h"
#endif
// defined the CPP symbols to create the different versions
#ifdef R__QTX11
#undef R__QTX11
#endif /* R__QTX11 */
#ifdef R__QTWIN32
#undef R__QTWIN32
#endif /*R__QTWIN32*/
#ifdef R__QTMACOS
#undef R__QTMACOS
#endif /*R__QTMACOS*/
#ifdef R__QTGUITHREAD
#undef R__QTGUITHREAD
#endif /*R__QTGUITHREAD*/
#ifdef Q_WS_X11
# define R__QTX11
#endif
#if !defined(R__QTX11) && defined(R__UNIX) && !defined(R__MACOSX)
# define R__QTX11
#endif
#if !defined(R__QTX11) && defined(R__WIN32)
# define R__QTWIN32
#endif
#if defined(R__MACOSX)
# define R__QTMACOS
#endif
#ifndef ROOT_VALID_QT_VERSION
// The least Qt version the ROOT package can work with
# ifndef __CINT__
# if QT_VERSION < 0x40000
# define ROOT_VALID_QT_VERSION "3.2.0"
# else
# define ROOT_VALID_QT_VERSION "4.1.2"
# endif
# endif
#endif
#endif /*ROOT_TQTCONFIG*/