Compatibility Members for <QtGlobal>

The following members of class <QtGlobal>are part of the Qt compatibility layer. We advise against using them in new code.

Types

typedef Q_INT8
typedef Q_INT16
typedef Q_INT32
typedef Q_INT64
typedef Q_LLONG
typedef Q_LONG
typedef Q_UINT8
typedef Q_UINT16
typedef Q_UINT32
typedef Q_UINT64
typedef Q_ULLONG
typedef Q_ULONG

Functions

bool qSysInfo(int * wordSize, bool * bigEndian)
int qWinVersion()
bool qt_winUnicode()

Type Documentation

typedef Q_INT8

Use qint8 instead.

typedef Q_INT16

Use qint16 instead.

typedef Q_INT32

Use qint32 instead.

typedef Q_INT64

Use qint64 instead.

typedef Q_LLONG

Use qint64 instead.

typedef Q_LONG

Use void * instead.

typedef Q_UINT8

Use quint8 instead.

typedef Q_UINT16

Use quint16 instead.

typedef Q_UINT32

Use quint32 instead.

typedef Q_UINT64

Use quint64 instead.

typedef Q_ULLONG

Use quint64 instead.

typedef Q_ULONG

Use void * instead.

Function Documentation

bool qSysInfo(int * wordSize, bool * bigEndian)

Use QSysInfo::WordSize and QSysInfo::ByteOrder instead.

int qWinVersion()

Use QSysInfo::WindowsVersion instead.

See also QSysInfo.

bool qt_winUnicode()

This function always returns true.

See also QSysInfo.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.