summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui/image/image.pro
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/image/image.pro
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/image/image.pro')
-rw-r--r--tests/benchmarks/gui/image/image.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/benchmarks/gui/image/image.pro b/tests/benchmarks/gui/image/image.pro
index a8c6732413..fa26f3ec4c 100644
--- a/tests/benchmarks/gui/image/image.pro
+++ b/tests/benchmarks/gui/image/image.pro
@@ -5,3 +5,6 @@ SUBDIRS = \
qimagereader \
qpixmap \
qpixmapcache
+
+isEmpty(QT.widgets.name): SUBDIRS -= \
+ qimagereader