Changeset 2a436ea693 in tspsg for src/globals.h
- Timestamp:
- Sep 6, 2010, 10:23:38 PM (14 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- a713b103e8
- Parents:
- bbac1ebb13
- git-author:
- Oleksii Serdiuk <contacts@…> (09/06/10 22:23:38)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/globals.h
rbbac1ebb13 r2a436ea693 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.