diff options
Diffstat (limited to 'tests/auto/declarative/declarative.pro')
-rw-r--r-- | tests/auto/declarative/declarative.pro | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/declarative/declarative.pro b/tests/auto/declarative/declarative.pro index 1f442f30..27ae628d 100644 --- a/tests/auto/declarative/declarative.pro +++ b/tests/auto/declarative/declarative.pro @@ -75,12 +75,12 @@ contains(QT_CONFIG, private_tests) { qpacketprotocol # This test requires the xmlpatterns module - !contains(QT_CONFIG,xmlpatterns): SUBDIRS -= qdeclarativexmllistmodel + !qtHaveModule(xmlpatterns): SUBDIRS -= qdeclarativexmllistmodel } -contains(QT_CONFIG, opengl): SUBDIRS += qmlshadersplugin +qtHaveModule(opengl): SUBDIRS += qmlshadersplugin -!isEmpty(QT.webkit.name): SUBDIRS += qdeclarativewebview +qtHaveModule(webkit): SUBDIRS += qdeclarativewebview # Tests which should run in Pulse PULSE_TESTS = $$SUBDIRS |