summaryrefslogtreecommitdiffstats
path: root/qmake/library/qmakevfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/library/qmakevfs.h')
-rw-r--r--qmake/library/qmakevfs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/qmake/library/qmakevfs.h b/qmake/library/qmakevfs.h
index 68c21a3d37..fccbcfb765 100644
--- a/qmake/library/qmakevfs.h
+++ b/qmake/library/qmakevfs.h
@@ -38,7 +38,7 @@
# include <qmutex.h>
#endif
-#ifndef QT_NO_TEXTCODEC
+#if QT_CONFIG(textcodec)
QT_FORWARD_DECLARE_CLASS(QTextCodec)
#endif
@@ -92,7 +92,7 @@ public:
void invalidateContents();
#endif
-#ifndef QT_NO_TEXTCODEC
+#if QT_CONFIG(textcodec)
void setTextCodec(const QTextCodec *textCodec);
#endif
@@ -129,7 +129,7 @@ private:
QString m_magicMissing;
QString m_magicExisting;
#endif
-#ifndef QT_NO_TEXTCODEC
+#if QT_CONFIG(textcodec)
const QTextCodec *m_textCodec;
#endif
};