Changeset 1241232377 in tspsg
- Timestamp:
- Aug 31, 2013, 11:52:19 PM (11 years ago)
- Branches:
- appveyor, imgbot, master, readme
- Children:
- 7ed8b57eea
- Parents:
- 243b53b608
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/globals.h
r243b53b608 r1241232377 34 34 # error You are using Qt version < 4.5 but minimum required version is 4.5.0. Compilation aborted. 35 35 #endif 36 #if defined(Q_OS_WINCE_WM) || defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR) 36 #if defined(Q_OS_WINCE_WM) || defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR) || defined(Q_OS_BLACKBERRY) 37 37 //! This is defined on handheld devices (e.g., Windows Mobile, Symbian). 38 38 # define HANDHELD -
src/mainwindow.cpp
r243b53b608 r1241232377 63 63 #endif // NOSVG 64 64 65 #if QT_VERSION >= QT_VERSION_CHECK(5,0,0) 66 # include <QtConcurrent> 67 #endif 65 #include <QtConcurrentRun> 68 66 69 67 #include "os.h" … … 98 96 { 99 97 double i; 98 #ifdef Q_OS_BLACKBERRY 99 return (std::modf(x, &i) == 0.0); 100 #else 100 101 return (modf(x, &i) == 0.0); 102 #endif 101 103 } 102 104 -
src/os.h
r243b53b608 r1241232377 115 115 # define OS "HP Tru64 UNIX" 116 116 # define OSID quint8(16) 117 #elif defined(Q_OS_BLACKBERRY) 118 # define OS "BlackBerry 10" 119 # define OSID quint8(17) 117 120 #elif defined(Q_OS_QNX) 118 121 # define OS "QNX Neutrino" 119 # define OSID quint8(1 7)122 # define OSID quint8(18) 120 123 #elif defined(Q_OS_RELIANT) 121 124 # define OS "Reliant UNIX" 122 # define OSID quint8(1 8)125 # define OSID quint8(19) 123 126 #elif defined(Q_OS_SCO) 124 127 # define OS "SCO OpenServer 5" 125 # define OSID quint8( 19)128 # define OSID quint8(20) 126 129 #elif defined(Q_OS_SOLARIS) 127 130 # define OS "Sun Solaris" 128 # define OSID quint8(2 0)131 # define OSID quint8(21) 129 132 #elif defined(Q_OS_SYMBIAN) 130 133 # define OS "Symbian" 131 # define OSID quint8(2 1)134 # define OSID quint8(22) 132 135 #elif defined(Q_OS_ULTRIX) 133 136 # define OS "DEC Ultrix" 134 # define OSID quint8(2 2)137 # define OSID quint8(23) 135 138 #elif defined(Q_OS_UNIXWARE) 136 139 # define OS "UnixWare 7/Open UNIX 8" 137 # define OSID quint8(2 3)140 # define OSID quint8(24) 138 141 #elif defined(Q_OS_WIN32) 139 142 # define OS "Windows" 140 # define OSID quint8(2 4)143 # define OSID quint8(25) 141 144 #elif defined(Q_OS_WINCE_WM) 142 145 # define OS "Windows Mobile" 143 # define OSID quint8(2 5)146 # define OSID quint8(26) 144 147 #elif defined(Q_OS_WINCE) 145 148 # define OS "Windows CE" 146 # define OSID quint8(2 6)149 # define OSID quint8(27) 147 150 #elif defined(Q_OS_BSD4) 148 151 # define OS "BSD 4.4" -
tspsg.pri
r243b53b608 r1241232377 59 59 l10n/tspsg_uk.ts 60 60 61 blackberry { 62 OTHER_FILES += \ 63 bar-descriptor.xml 64 } 65 61 66 !nopch { 62 67 # Precompiled header -
tspsg.pro
r243b53b608 r1241232377 21 21 } 22 22 23 wincewm*|symbian|maemo*|simulator {23 wincewm*|symbian|maemo*|simulator|blackberry { 24 24 CONFIG += handheld 25 25 } … … 43 43 BUILD_NUMBER=$$BUILD_NUMBER 44 44 45 !debug_and_release|build_pass { 46 CONFIG(debug, debug|release) { 47 OBJECTS_DIR = debug 48 DEFINES += DEBUG 49 # CONFIG += console 50 D = d 51 } else { 52 OBJECTS_DIR = release 53 D = 45 blackberry { 46 TARGET = tspsg 47 } else { 48 !debug_and_release|build_pass { 49 CONFIG(debug, debug|release) { 50 OBJECTS_DIR = debug 51 DEFINES += DEBUG 52 # CONFIG += console 53 D = d 54 } else { 55 OBJECTS_DIR = release 56 D = 57 } 54 58 } 55 59 } 56 DESTDIR = bin57 TARGET = tspsg$${D}58 60 59 61 # Saving all intermediate files to tmp directory.
Note: See TracChangeset
for help on using the changeset viewer.