summaryrefslogtreecommitdiffstats
path: root/tests/shared/emulationdetector.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shared/emulationdetector.h')
-rw-r--r--tests/shared/emulationdetector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/shared/emulationdetector.h b/tests/shared/emulationdetector.h
index bf1192a0b2..cca11be695 100644
--- a/tests/shared/emulationdetector.h
+++ b/tests/shared/emulationdetector.h
@@ -32,7 +32,7 @@
#if defined(Q_OS_LINUX) && defined(Q_PROCESSOR_ARM)
#define SHOULD_CHECK_ARM_ON_X86
-#if QT_CONFIG(process) && !defined(QT_NO_REGULAREXPRESSION)
+#if QT_CONFIG(process) && QT_CONFIG(regularexpression)
#include <QProcess>
#include <QRegularExpression>
#endif
@@ -88,7 +88,7 @@ static bool isX86SpecificFileAvailable()
*/
static bool isReportedArchitectureX86(void)
{
-#if QT_CONFIG(process) && !defined(QT_NO_REGULAREXPRESSION)
+#if QT_CONFIG(process) && QT_CONFIG(regularexpression)
QProcess unamer;
QString machineString;