Changeset 134 in tspsg-svn for trunk/src/globals.h
- Timestamp:
- Sep 6, 2010, 10:23:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/globals.h
r129 r134 31 31 // INCLUDES 32 32 #include <QtCore> 33 #if QT_VERSION < 0x040500 34 #error You are using Qt version < 4.5 but minimum required version is 4.5.0. Compilation aborted. 35 #endif 36 #ifdef QT_NO_SVG 37 #define NOSVG 38 #endif 33 39 #include <QtGui> 34 #if !defined(NOSVG) && (QT_VERSION >= 0x040500)40 #if !defined(NOSVG) 35 41 #include <QtSvg> 36 #endif // NOSVG && QT_VERSION >= 0x04050042 #endif // NOSVG 37 43 38 44 #if defined(Q_OS_WINCE_WM) || defined(Q_OS_SYMBIAN) … … 119 125 #endif // Q_OS_WIN32 120 126 127 #if QT_VERSION >= 0x040600 128 #define GET_ICON(x) QIcon::fromTheme(x, QIcon(":/images/icons/"x".png")) 129 #else 130 #define GET_ICON(x) QIcon(":/images/icons/"x".png") 131 #endif 132 121 133 // Sanity checks 122 134 // Check that default number of cities is sane (<= MAX_NUM_CITIES)
Note: See TracChangeset
for help on using the changeset viewer.