From f7bfcdfa288b4d85adc5649fd7e4f97d42357e7f Mon Sep 17 00:00:00 2001 From: Michael Goddard Date: Mon, 9 Jan 2012 16:59:54 +1000 Subject: 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 --- src/plugins/plugins.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/plugins.pro') diff --git a/src/plugins/plugins.pro b/src/plugins/plugins.pro index 0317d7d13..ac5968a3b 100644 --- a/src/plugins/plugins.pro +++ b/src/plugins/plugins.pro @@ -39,6 +39,6 @@ mac:!simulator { # Currently we need qmacdefines_mac.h from QtWidgets, so this depends on that :/ # despite the code not really using them. - contains(config_test_widgets, yes):SUBDIRS += qt7 + !isEmpty(QT.widgets.name):SUBDIRS += qt7 } -- cgit v1.2.3