summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui/styles
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2012-07-30 13:58:52 +1000
committerQt by Nokia <qt-info@nokia.com>2012-07-30 10:43:50 +0200
commit650cdb62bd9879f8e59f773282a3f9113cb03ab0 (patch)
treefe6408ca7608457495d8c2ebf0ccf344df1c3d79 /tests/benchmarks/gui/styles
parentd294ac8d68ccc0e7b0880ef75dbe76846a7f200d (diff)
Make benchmarks compile without QtWidgets
Ensure benchmarks which need QtWidgets are gracefully disabled when that module is unavailable. Fixed one unnecessary usage of "QT+=widgets". Change-Id: I8031b5dca585749f0f4d22e0637adc3f57f4e418 Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'tests/benchmarks/gui/styles')
-rw-r--r--tests/benchmarks/gui/styles/styles.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/gui/styles/styles.pro b/tests/benchmarks/gui/styles/styles.pro
index 7c1d0697b7..8930de127b 100644
--- a/tests/benchmarks/gui/styles/styles.pro
+++ b/tests/benchmarks/gui/styles/styles.pro
@@ -1,3 +1,3 @@
TEMPLATE = subdirs
-SUBDIRS = \
+!isEmpty(QT.widgets.name):SUBDIRS = \
qstylesheetstyle