summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/examples/examples.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/examples/examples.pro')
-rw-r--r--tests/auto/declarative/examples/examples.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/examples/examples.pro b/tests/auto/declarative/examples/examples.pro
index 8ff6b6ef..f20c3415 100644
--- a/tests/auto/declarative/examples/examples.pro
+++ b/tests/auto/declarative/examples/examples.pro
@@ -2,8 +2,8 @@ CONFIG += testcase
testcase.timeout = 400 # this test is slow
TARGET = tst_examples
-!contains(QT_CONFIG, webkit): DEFINES += QT_NO_WEBKIT
-!contains(QT_CONFIG, xmlpatterns): DEFINES += QT_NO_XMLPATTERNS
+!qtHaveModule(webkit): DEFINES += QT_NO_WEBKIT
+!qtHaveModule(xmlpatterns): DEFINES += QT_NO_XMLPATTERNS
QT += testlib
contains(QT_CONFIG,declarative): QT += declarative