summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qconfig-bootstrapped.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-03-26 13:01:36 +0100
committerLars Knoll <lars.knoll@qt.io>2020-04-13 09:40:09 +0200
commit33752a9bd334a53e891f141afd2357eefb1a9a36 (patch)
treeadf44eafe1d4201b49088d3d8592c0b83877101a /src/corelib/global/qconfig-bootstrapped.h
parentce1d4d362881b54ff774b49f54ef686f9aa97c73 (diff)
Include QRegularExpression in the bootstrap library
This allows us to use regular expressions in bootstrapped tools such as moc and tracegen. Change-Id: I4310dd15bf26651aac6ab30c884e025ca06b3099 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
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 5733864459..0185ad566c 100644
--- a/src/corelib/global/qconfig-bootstrapped.h
+++ b/src/corelib/global/qconfig-bootstrapped.h
@@ -106,7 +106,11 @@
#define QT_FEATURE_lttng -1
#define QT_NO_QOBJECT
#define QT_FEATURE_process -1
+#ifndef QT_BUILD_QMAKE
+#define QT_FEATURE_regularexpression 1
+#else
#define QT_FEATURE_regularexpression -1
+#endif
#ifdef __GLIBC_PREREQ
# define QT_FEATURE_renameat2 (__GLIBC_PREREQ(2, 28) ? 1 : -1)
#else