aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicksystempalette/qquicksystempalette.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquicksystempalette/qquicksystempalette.pro')
-rw-r--r--tests/auto/quick/qquicksystempalette/qquicksystempalette.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquicksystempalette/qquicksystempalette.pro b/tests/auto/quick/qquicksystempalette/qquicksystempalette.pro
index b6c09479a2..48fd7e8e9a 100644
--- a/tests/auto/quick/qquicksystempalette/qquicksystempalette.pro
+++ b/tests/auto/quick/qquicksystempalette/qquicksystempalette.pro
@@ -6,5 +6,5 @@ SOURCES += tst_qquicksystempalette.cpp
CONFIG += parallel_test
QT += core-private gui-private qml-private quick-private testlib
-!contains(QT_CONFIG, no-widgets): QT += widgets
+qtHaveModule(widgets): QT += widgets
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0