Changeset 1241232377 in tspsg for src
- Timestamp:
- Aug 31, 2013, 11:52:19 PM (11 years ago)
- Branches:
- appveyor, imgbot, master, readme
- Children:
- 7ed8b57eea
- Parents:
- 243b53b608
- Location:
- src
- Files:
-
- 3 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"
Note: See TracChangeset
for help on using the changeset viewer.