summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichael Goddard <michael.goddard@nokia.com>2012-01-09 16:59:54 +1000
committerQt by Nokia <qt-info@nokia.com>2012-01-11 01:00:42 +0100
commitf7bfcdfa288b4d85adc5649fd7e4f97d42357e7f (patch)
treec07765ddbdb6635db4ff9d35f3109238ad3b565e /examples
parent23470c20355c8e7911be5a10355852c4cb921f76 (diff)
Remove widgets config test.
Since it's not guaranteed that other Qt modules will be built by the time qmake is run (and config.tests are created) we can't rely on compilation. Just check the module.pri variable for widgets instead. Change-Id: I352cf6427b748b89b69ec17588ce0dd83065090f Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index ef1cc1147..9d9442e72 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,7 +1,7 @@
TEMPLATE = subdirs
# These examples all need widgets for now (using creator templates that use widgets)
-contains(config_test_widgets, yes) {
+!isEmpty(QT.widgets.name) {
SUBDIRS += \
radio \
camera \