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.pro7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/auto/declarative/examples/examples.pro b/tests/auto/declarative/examples/examples.pro
index 8ff6b6ef..043fa5d0 100644
--- a/tests/auto/declarative/examples/examples.pro
+++ b/tests/auto/declarative/examples/examples.pro
@@ -2,11 +2,10 @@ 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
+QT += testlib declarative
macx:CONFIG -= app_bundle
SOURCES += tst_examples.cpp