diff options
Diffstat (limited to 'src/corelib/kernel/qcoreglobaldata_p.h')
-rw-r--r-- | src/corelib/kernel/qcoreglobaldata_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/kernel/qcoreglobaldata_p.h b/src/corelib/kernel/qcoreglobaldata_p.h index 4f97449c75..c3c2f7b4a4 100644 --- a/src/corelib/kernel/qcoreglobaldata_p.h +++ b/src/corelib/kernel/qcoreglobaldata_p.h @@ -51,6 +51,7 @@ // We mean it. // +#include <QtCore/private/qglobal_p.h> #include "QtCore/qmap.h" #include "QtCore/qstringlist.h" #include "QtCore/qreadwritelock.h" @@ -70,9 +71,11 @@ struct QCoreGlobalData { QMap<QString, QStringList> dirSearchPaths; QReadWriteLock dirSearchPathsLock; +#if QT_CONFIG(textcodec) QList<QTextCodec*> allCodecs; QAtomicPointer<QTextCodec> codecForLocale; QTextCodecCache codecCache; +#endif static QCoreGlobalData *instance(); }; |