diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 7dbe41aaced..18e9ecae850 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -1028,14 +1028,17 @@ template struct QEnableIf { typedef T Type; }; #endif QT_END_NAMESPACE -// Q_GLOBAL_STATIC -#include -// qDebug and friends -#include -#include -#include +// We need to keep QTypeInfo, QSysInfo, QFlags, qDebug & family in qglobal.h for compatibility with Qt 4. +// Be careful when changing the order of these files. #include +#include +#include + +#include + +#include +#include #endif /* __cplusplus */