aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qml.pro
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2012-06-01 14:53:26 +1000
committerQt by Nokia <qt-info@nokia.com>2012-06-05 04:35:50 +0200
commit805c30e809a86cc1feabeb3bdbee943a7bbf8796 (patch)
tree102ce2b32ceacb9b6522d579d8250892e1fdf276 /tests/auto/qml/qml.pro
parentc734706c69ed5b38cc97aea5be3f0553c194aa0a (diff)
Allow qtdeclarative to compile with -no-widgets
We have no hard requirement for QtWidgets library, so we should build without it. Change-Id: I85c85cc1a52bf9daa7ab7916f19bf7cc3ad5845f Reviewed-by: Damian Jansen <damian.jansen@nokia.com>
Diffstat (limited to 'tests/auto/qml/qml.pro')
-rw-r--r--tests/auto/qml/qml.pro11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/auto/qml/qml.pro b/tests/auto/qml/qml.pro
index d99d18c152..dc6c0def56 100644
--- a/tests/auto/qml/qml.pro
+++ b/tests/auto/qml/qml.pro
@@ -5,8 +5,6 @@ METATYPETESTS += \
PUBLICTESTS += \
parserstress \
- qjsengine \
- qjsvalue \
qjsvalueiterator \
qjsonbinding \
qmlmin \
@@ -50,6 +48,15 @@ PRIVATETESTS += \
qqmlbundle \
v4
+!contains(QT_CONFIG, no-widgets) {
+ PUBLICTESTS += \
+ qjsengine \
+ qjsvalue
+
+ PRIVATETESTS += \
+ qqmlecmascript
+}
+
SUBDIRS += $$PUBLICTESTS
SUBDIRS += $$METATYPETESTS
SUBDIRS += debugger