aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/qqmlecmascript.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/qqmlecmascript/qqmlecmascript.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/qqmlecmascript/qqmlecmascript.pro')
-rw-r--r--tests/auto/qml/qqmlecmascript/qqmlecmascript.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmlecmascript/qqmlecmascript.pro b/tests/auto/qml/qqmlecmascript/qqmlecmascript.pro
index 42c7bd91de..8de609d9d6 100644
--- a/tests/auto/qml/qqmlecmascript/qqmlecmascript.pro
+++ b/tests/auto/qml/qqmlecmascript/qqmlecmascript.pro
@@ -16,4 +16,6 @@ include (../../shared/util.pri)
TESTDATA = data/*
-QT += core-private gui-private v8-private qml-private network widgets testlib
+QT += core-private gui-private v8-private qml-private network testlib
+!contains(QT_CONFIG, no-widgets): QT += widgets
+