41 #include <QtCore/qglobal.h>
57 WordSize = (
sizeof(
void *)<<3)
64 , ByteOrder = BigEndian or LittleEndian
65 # elif Q_BYTE_ORDER == Q_BIG_ENDIAN
66 , ByteOrder = BigEndian
67 # elif Q_BYTE_ORDER == Q_LITTLE_ENDIAN
68 , ByteOrder = LittleEndian
70 # error "Undefined byte order"
75 static QString currentCpuArchitecture();
81 static QString productVersion();
82 static QString prettyProductName();
84 static QString machineHostName();
The QByteArray class provides an array of bytes.
The QString class provides a Unicode character string.
The QSysInfo class provides information about the system.
static QString buildCpuArchitecture()