Make benchmarks compile without QtWidgets
authorRohan McGovern <rohan.mcgovern@nokia.com>
Mon, 30 Jul 2012 03:58:52 +0000 (13:58 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 30 Jul 2012 08:43:50 +0000 (10:43 +0200)
commit650cdb62bd9879f8e59f773282a3f9113cb03ab0
treefe6408ca7608457495d8c2ebf0ccf344df1c3d79
parentd294ac8d68ccc0e7b0880ef75dbe76846a7f200d
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>
tests/benchmarks/corelib/kernel/kernel.pro
tests/benchmarks/gui/animation/animation.pro
tests/benchmarks/gui/graphicsview/graphicsview.pro
tests/benchmarks/gui/gui.pro
tests/benchmarks/gui/image/image.pro
tests/benchmarks/gui/kernel/kernel.pro
tests/benchmarks/gui/painting/painting.pro
tests/benchmarks/gui/styles/styles.pro
tests/benchmarks/gui/text/qtext/qtext.pro