From 586adeabe4d58a7c8a71bbb1be79c3533ab858ff Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 21 Dec 2012 12:09:56 +0100 Subject: add and use qtHaveModule() function this is much more elegant than the so far propagated !isEmpty(QT.foo.name). also replace feature-specific tests (no-gui and no-widgets) and the obsolete contains(QT_CONFIG, foo) syntax. Change-Id: Ia4b3c8febcabf9eeca67b1f9173a523820b1038b Reviewed-by: Sergio Ahumada Reviewed-by: Tasuku Suzuki Reviewed-by: Oswald Buddenhagen --- tests/auto/auto.pro | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/auto/auto.pro') diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index b3906cc247..6ff0734186 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -18,7 +18,7 @@ SUBDIRS += \ wince*: SUBDIRS -= printsupport cross_compile: SUBDIRS -= tools -isEmpty(QT.opengl.name): SUBDIRS -= opengl -!unix|embedded|!contains(QT_CONFIG, dbus): SUBDIRS -= dbus -contains(QT_CONFIG, no-widgets): SUBDIRS -= widgets printsupport -!contains(QT_CONFIG, concurrent): SUBDIRS -= concurrent +!qtHaveModule(opengl): SUBDIRS -= opengl +!unix|embedded|!qtHaveModule(dbus): SUBDIRS -= dbus +!qtHaveModule(widgets): SUBDIRS -= widgets printsupport +!qtHaveModule(concurrent): SUBDIRS -= concurrent -- cgit v1.2.3