enum | Endian { BigEndian, LittleEndian, ByteOrder } |
enum | Sizes { WordSize } |
QByteArray | bootUniqueId() |
QString | buildAbi() |
QString | buildCpuArchitecture() |
QString | currentCpuArchitecture() |
QString | kernelType() |
QString | kernelVersion() |
QString | machineHostName() |
QByteArray | machineUniqueId() |
QString | prettyProductName() |
QString | productType() |
QString | productVersion() |
Constant | Value | Description |
---|---|---|
QSysInfo::BigEndian | 0 | Big-endian byte order (also called Network byte order) |
QSysInfo::LittleEndian | 1 | Little-endian byte order |
QSysInfo::ByteOrder | BigEndian or LittleEndian | Equals BigEndian or LittleEndian, depending on the platform's byte order. |
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). |
[static]
QByteArray QSysInfo::bootUniqueId()[static]
QString QSysInfo::buildAbi()Component | Value |
---|---|
CPU Architecture | The same as QSysInfo::buildCpuArchitecture(), such as 'arm', 'i386', 'mips' or 'x86_64' |
Endianness | 'little_endian' or 'big_endian' |
Word size | Whether it's a 32- or 64-bit application. Possible values are: 'llp64' (Windows 64-bit), 'lp64' (Unix 64-bit), 'ilp32' (32-bit) |
(Optional) ABI | Zero or more components identifying different ABIs possible in this architecture. Currently, Qt has optional ABI components for ARM and MIPS processors: one component is the main ABI (such as 'eabi', 'o32', 'n32', 'o64'); another is whether the calling convention is using hardware floating point registers ('hardfloat' is present). Additionally, if Qt was configured with -qreal float , the ABI option tag 'qreal_float' will be present. If Qt was configured with another type as qreal, that type is present after 'qreal_', with all characters other than letters and digits escaped by an underscore, followed by two hex digits. For example, -qreal long double becomes 'qreal_long_20double'. |
[static]
QString QSysInfo::buildCpuArchitecture()[static]
QString QSysInfo::currentCpuArchitecture()[static]
QString QSysInfo::kernelType()uname -s
(lowercased).[static]
QString QSysInfo::kernelVersion()uname -r
command would return.[static]
QString QSysInfo::machineHostName()[static]
QByteArray QSysInfo::machineUniqueId()[static]
QString QSysInfo::prettyProductName()[static]
QString QSysInfo::productType()[static]
QString QSysInfo::productVersion()