Home · All Classes · Modules |
The QSysInfo class provides information about the system. More...
The QSysInfo class provides information about the system.
Some constants are defined only on certain platforms. You can use the preprocessor symbols Q_WS_WIN and Q_WS_MAC to test that the application is compiled under Windows or Mac.
Constant | Value | Description |
---|---|---|
QSysInfo.BigEndian | 0 | Big-endian byte order (also called Network byte order) |
QSysInfo.LittleEndian | 1 | Little-endian byte order |
QSysInfo.ByteOrder | <platform-dependent> | Equals BigEndian or LittleEndian, depending on the platform's byte order. |
This enum provides symbolic names for the various versions of the Macintosh operating system. On Mac, the QSysInfo.MacintoshVersion variable gives the version of the system on which the application is run.
Constant | Value | Description |
---|---|---|
QSysInfo.MV_9 | 0x0001 | Mac OS 9 (unsupported) |
QSysInfo.MV_10_0 | 0x0002 | Mac OS X 10.0 (unsupported) |
QSysInfo.MV_10_1 | 0x0003 | Mac OS X 10.1 (unsupported) |
QSysInfo.MV_10_2 | 0x0004 | Mac OS X 10.2 (unsupported) |
QSysInfo.MV_10_3 | 0x0005 | Mac OS X 10.3 |
QSysInfo.MV_10_4 | 0x0006 | Mac OS X 10.4 |
QSysInfo.MV_10_5 | 0x0007 | Mac OS X 10.5 |
QSysInfo.MV_10_6 | 0x0008 | Mac OS X 10.6 |
QSysInfo.MV_10_7 | 0x0009 | Mac OS X 10.7 |
QSysInfo.MV_10_8 | 0x000A | Mac OS X 10.8 |
QSysInfo.MV_Unknown | 0x0000 | An unknown and currently unsupported platform |
QSysInfo.MV_CHEETAH | MV_10_0 | Apple codename for MV_10_0 |
QSysInfo.MV_PUMA | MV_10_1 | Apple codename for MV_10_1 |
QSysInfo.MV_JAGUAR | MV_10_2 | Apple codename for MV_10_2 |
QSysInfo.MV_PANTHER | MV_10_3 | Apple codename for MV_10_3 |
QSysInfo.MV_TIGER | MV_10_4 | Apple codename for MV_10_4 |
QSysInfo.MV_LEOPARD | MV_10_5 | Apple codename for MV_10_5 |
QSysInfo.MV_SNOWLEOPARD | MV_10_6 | Apple codename for MV_10_6 |
QSysInfo.MV_LION | MV_10_7 | Apple codename for MV_10_7 |
QSysInfo.MV_MOUNTAINLION | MV_10_8 | Apple codename for MV_10_8 |
See also WinVersion and SymbianVersion.
This enum provides platform-specific information about the sizes of data structures used by the underlying architecture.
Constant | Value | Description |
---|---|---|
QSysInfo.WordSize | ( sizeof( void * ) <<3 ) | The size in bits of a pointer for the platform on which the application is compiled (32 or 64). |
This member should be treated as a constant.
This variable holds the version of the Macintosh operating system on which the application is run (Mac only).
PyQt 4.10.1 for MacOS | Copyright © Riverbank Computing Ltd and Nokia 2012 | Qt 4.8.4 |