summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qconfig-bootstrapped.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-03-26 21:10:20 +0100
committerLars Knoll <lars.knoll@qt.io>2020-05-06 09:57:31 +0200
commit56a7984a90992371cd7f54a061dcc791e6f22cfd (patch)
tree86e08c120d5e064cf166a573cf74f732c3d78347 /src/corelib/global/qconfig-bootstrapped.h
parent660b38bb2c4a7650ed04dc0f2feb2bf93d4e6739 (diff)
Remove QRegExp from the bootstrap library
All it's uses have been replaces with QRegularExpression. Change-Id: I5bcdfdd8a39dad6d1288f18f1b24d2eea9e028d2 Reviewed-by: Simon Hausmann <hausmann@gmail.com>
Diffstat (limited to 'src/corelib/global/qconfig-bootstrapped.h')
-rw-r--r--src/corelib/global/qconfig-bootstrapped.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/global/qconfig-bootstrapped.h b/src/corelib/global/qconfig-bootstrapped.h
index c943acb602..349dfeea1c 100644
--- a/src/corelib/global/qconfig-bootstrapped.h
+++ b/src/corelib/global/qconfig-bootstrapped.h
@@ -66,6 +66,10 @@
#define QT_NO_USING_NAMESPACE
#define QT_NO_DEPRECATED
+#ifndef QT_BUILD_QMAKE
+#define QT_NO_REGEXP
+#endif
+
// Keep feature-test macros in alphabetic order by feature name:
#define QT_FEATURE_alloca 1
#define QT_FEATURE_alloca_h -1