Changeset 41 in tspsg-svn
- Timestamp:
- Jul 21, 2009, 10:15:43 AM (15 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mainwindow.cpp
r38 r41 279 279 about += QString::fromUtf8(" Compile time: %1\n").arg(QT_VERSION_STR); 280 280 about += QString::fromUtf8(" Runtime: %1\n").arg(qVersion()); 281 about += QString::fromUtf8("Built on %1 at %2\n").arg(__DATE__).arg(__TIME__); 281 282 about += "\n"; 282 283 about += "TSPSG is licensed under the terms of the GNU General Public License. You should have received a copy of the GNU General Public License along with TSPSG."; -
trunk/src/os.h
r40 r41 25 25 #define OS_H 26 26 27 #if defined(__amd64__) || defined(_M_X64) || defined(__ia64__) || defined(_M_IA64) 28 #define BITS " (64-bit)" 27 // Some target arch detection. 28 // NOTE: Only for GNU C, Visual Studio, Intel C/C++ and MinGW32 compilers 29 #if defined(__amd64__) || defined(_M_X64) 30 #define ARCH " (AMD 64-bit)" 31 #elif defined(__ia64__) || defined(_M_IA64) 32 #define ARCH " (Intel 64-bit)" 29 33 #elif defined(__i386__) || defined(_M_IX86) || defined(_X86_) 30 #define BITS " (32-bit)" 34 #define ARCH " (Intel x86)" 35 #elif defined(__powerpc__) || defined(_M_PPC) 36 #define ARCH " (PowerPC)" 37 #elif defined(__arm__) || defined(_M_ARM) 38 #define ARCH " (ARM)" 39 #elif defined(__mips__) || defined(_M_MRX000) 40 #define ARCH " (MIPS)" 31 41 #else 32 #define BITS""33 #endif // BITS42 #define ARCH "" 43 #endif // ARCH 34 44 35 45 #ifdef Q_OS_AIX 36 #define OS "AIX" BITS46 #define OS "AIX"ARCH 37 47 #define OSID quint8(1) 38 48 #elif defined Q_OS_BSD4 39 #define OS "BSD 4.4" BITS49 #define OS "BSD 4.4"ARCH 40 50 #define OSID quint8(2) 41 51 #elif defined Q_OS_BSDI 42 #define OS "BSD/OS" BITS52 #define OS "BSD/OS"ARCH 43 53 #define OSID quint8(3) 44 54 #elif defined Q_OS_CYGWIN 45 #define OS "Cygwin" BITS55 #define OS "Cygwin"ARCH 46 56 #define OSID quint8(4) 47 57 #elif defined Q_OS_DARWIN 48 #define OS "Darwin OS" BITS58 #define OS "Darwin OS"ARCH 49 59 #define OSID quint8(5) 50 60 #elif defined Q_OS_DGUX 51 #define OS "DG/UX" BITS61 #define OS "DG/UX"ARCH 52 62 #define OSID quint8(6) 53 63 #elif defined Q_OS_DYNIX 54 #define OS "DYNIX/ptx" BITS64 #define OS "DYNIX/ptx"ARCH 55 65 #define OSID quint8(7) 56 66 #elif defined Q_OS_FREEBSD 57 #define OS "FreeBSD" BITS67 #define OS "FreeBSD"ARCH 58 68 #define OSID quint8(8) 59 69 #elif defined Q_OS_HPUX 60 #define OS "HP-UX" BITS70 #define OS "HP-UX"ARCH 61 71 #define OSID quint8(9) 62 72 #elif defined Q_OS_HURD 63 #define OS "GNU Hurd" BITS73 #define OS "GNU Hurd"ARCH 64 74 #define OSID quint8(10) 65 75 #elif defined Q_OS_IRIX 66 #define OS "SGI Irix" BITS76 #define OS "SGI Irix"ARCH 67 77 #define OSID quint8(11) 68 78 #elif defined Q_OS_LINUX 69 #define OS "Linux" BITS79 #define OS "Linux"ARCH 70 80 #define OSID quint8(12) 71 81 #elif defined Q_OS_LYNX 72 #define OS "LynxOS" BITS82 #define OS "LynxOS"ARCH 73 83 #define OSID quint8(13) 74 84 #elif defined Q_OS_MSDOS 75 #define OS "MS-DOS" BITS85 #define OS "MS-DOS"ARCH 76 86 #define OSID quint8(14) 77 87 #elif defined Q_OS_NETBSD 78 #define OS "NetBSD" BITS88 #define OS "NetBSD"ARCH 79 89 #define OSID quint8(15) 80 90 #elif defined Q_OS_OS2 81 #define OS "OS/2" BITS91 #define OS "OS/2"ARCH 82 92 #define OSID quint8(16) 83 93 #elif defined Q_OS_OPENBSD 84 #define OS "OpenBSD" BITS94 #define OS "OpenBSD"ARCH 85 95 #define OSID quint8(17) 86 96 #elif defined Q_OS_OS2EMX 87 #define OS "OS/2" BITS97 #define OS "OS/2"ARCH 88 98 #define OSID quint8(18) 89 99 #elif defined Q_OS_OSF 90 #define OS "HP Tru64 UNIX" BITS100 #define OS "HP Tru64 UNIX"ARCH 91 101 #define OSID quint8(19) 92 102 #elif defined Q_OS_QNX6 93 #define OS "QNX RTP 6.1" BITS103 #define OS "QNX RTP 6.1"ARCH 94 104 #define OSID quint8(20) 95 105 #elif defined Q_OS_QNX 96 #define OS "QNX" BITS106 #define OS "QNX"ARCH 97 107 #define OSID quint8(21) 98 108 #elif defined Q_OS_RELIANT 99 #define OS "Reliant UNIX" BITS109 #define OS "Reliant UNIX"ARCH 100 110 #define OSID quint8(22) 101 111 #elif defined Q_OS_SCO 102 #define OS "SCO OpenServer 5" BITS112 #define OS "SCO OpenServer 5"ARCH 103 113 #define OSID quint8(23) 104 114 #elif defined Q_OS_SOLARIS 105 #define OS "Sun Solaris" BITS115 #define OS "Sun Solaris"ARCH 106 116 #define OSID quint8(24) 107 117 #elif defined Q_OS_ULTRIX 108 #define OS "DEC Ultrix" BITS118 #define OS "DEC Ultrix"ARCH 109 119 #define OSID quint8(25) 110 120 #elif defined Q_OS_UNIX 111 #define OS "UNIX BSD/SYSV" BITS121 #define OS "UNIX BSD/SYSV"ARCH 112 122 #define OSID quint8(26) 113 123 #elif defined Q_OS_UNIXWARE 114 #define OS "UnixWare 7/Open UNIX 8" BITS124 #define OS "UnixWare 7/Open UNIX 8"ARCH 115 125 #define OSID quint8(27) 116 126 #elif defined Q_OS_WIN32 117 #define OS "Windows" BITS127 #define OS "Windows"ARCH 118 128 #define OSID quint8(28) 119 129 #elif defined Q_OS_WINCE 120 #define OS "Windows CE" 130 #define OS "Windows CE"ARCH 121 131 #define OSID quint8(29) 122 132 #else 123 #define OS "Unknown" BITS133 #define OS "Unknown"ARCH 124 134 #define OSID quint8(255) 125 135 #endif // OS
Note: See TracChangeset
for help on using the changeset viewer.