summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui/graphicsview
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/graphicsview
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/graphicsview')
-rw-r--r--tests/benchmarks/gui/graphicsview/graphicsview.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/benchmarks/gui/graphicsview/graphicsview.pro b/tests/benchmarks/gui/graphicsview/graphicsview.pro
index 4a85df812e..f8ba062829 100644
--- a/tests/benchmarks/gui/graphicsview/graphicsview.pro
+++ b/tests/benchmarks/gui/graphicsview/graphicsview.pro
@@ -7,3 +7,10 @@ SUBDIRS = \
qgraphicsscene \
qgraphicsview \
qgraphicswidget
+
+isEmpty(QT.widgets.name): SUBDIRS -= \
+ qgraphicsanchorlayout \
+ qgraphicsitem \
+ qgraphicsscene \
+ qgraphicsview \
+ qgraphicswidget