summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/examples/examples.pro
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-02-18 16:08:40 +0100
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-02-18 16:08:40 +0100
commitaa8e59c09cb03f56047ca65c3e89dd6daeec4d73 (patch)
treed45d5513511b0767925f453b637bda08139562da /tests/auto/declarative/examples/examples.pro
parentae764c678c78c1e3530a6d0dc2de2a17c5d4815a (diff)
parentcf8ef1676b70d70f5e1d2725d0b24d7df5e8cfe4 (diff)
Merge remote-tracking branch 'origin/stable' into dev
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