aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicksystempalette/qquicksystempalette.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/quick/qquicksystempalette/qquicksystempalette.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/quick/qquicksystempalette/qquicksystempalette.pro')
-rw-r--r--tests/auto/quick/qquicksystempalette/qquicksystempalette.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/quick/qquicksystempalette/qquicksystempalette.pro b/tests/auto/quick/qquicksystempalette/qquicksystempalette.pro
index c8825c07fb..f422d26b44 100644
--- a/tests/auto/quick/qquicksystempalette/qquicksystempalette.pro
+++ b/tests/auto/quick/qquicksystempalette/qquicksystempalette.pro
@@ -5,4 +5,5 @@ macx:CONFIG -= app_bundle
SOURCES += tst_qquicksystempalette.cpp
CONFIG += parallel_test
-QT += core-private gui-private qml-private quick-private widgets testlib
+QT += core-private gui-private qml-private quick-private testlib
+!contains(QT_CONFIG, no-widgets): QT += widgets