diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-02-21 11:01:51 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-22 00:44:07 +0100 |
commit | 9183957619ede36af59bc058898b98c95c66967e (patch) | |
tree | bd9c57e814d42cc6c4de168ac325ab43ea027ce3 /tests/auto/declarative/declarative.pro | |
parent | 650a8ccc21f8e65730afb195b05790e3b3f9985f (diff) |
Fix build issues related to QT_NO_*MODULE* defines.
The QT_NO_XMLPATTERNS and QT_NO_CONCURRENT defines don't exist in
Qt5 check for the existance of the modules with QT_XMLPATTERNS_LIB
and QT_CONCURRENT_LIB instead of their absence with the old defines.
Change-Id: I52bc9932294fe4564e58d06766301e2a0c41f15c
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/declarative/declarative.pro')
-rw-r--r-- | tests/auto/declarative/declarative.pro | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/declarative/declarative.pro b/tests/auto/declarative/declarative.pro index b0f1aed7..e1d6bb94 100644 --- a/tests/auto/declarative/declarative.pro +++ b/tests/auto/declarative/declarative.pro @@ -75,6 +75,9 @@ contains(QT_CONFIG, private_tests) { qdeclarativeworkerscript \ qdeclarativexmllistmodel \ qpacketprotocol + + # This test requires the xmlpatterns module + !contains(QT_CONFIG,xmlpatterns): SUBDIRS -= qdeclarativexmllistmodel } contains(QT_CONFIG, opengl): SUBDIRS += qmlshadersplugin |