From 93b78e7c6135340484569a0310ca3dedceb47f31 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 29 Aug 2016 10:29:47 +0200 Subject: Fix build with various features disabled Change-Id: I95cb3cf3434306344af3f4c7556f45dbfa0b08d6 Reviewed-by: Oswald Buddenhagen --- src/corelib/kernel/qcoreglobaldata_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/corelib/kernel/qcoreglobaldata_p.h') diff --git a/src/corelib/kernel/qcoreglobaldata_p.h b/src/corelib/kernel/qcoreglobaldata_p.h index 32b5becf4f..c3c2f7b4a4 100644 --- a/src/corelib/kernel/qcoreglobaldata_p.h +++ b/src/corelib/kernel/qcoreglobaldata_p.h @@ -71,9 +71,11 @@ struct QCoreGlobalData { QMap dirSearchPaths; QReadWriteLock dirSearchPathsLock; +#if QT_CONFIG(textcodec) QList allCodecs; QAtomicPointer codecForLocale; QTextCodecCache codecCache; +#endif static QCoreGlobalData *instance(); }; -- cgit v1.2.3