From 6fbba82a7b5d1ae47b376a2d27bc0fed78f280e0 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 21 Dec 2012 11:01:21 +0100 Subject: make use of qtHaveModule() Change-Id: I17123244323118e9dc9faa090f94faa9b2dcb795 Reviewed-by: Tasuku Suzuki Reviewed-by: Sergio Ahumada Reviewed-by: Joerg Bornemann Reviewed-by: Lorn Potter --- examples/sensors/grue/grue.pro | 2 +- examples/sensors/sensors.pro | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/sensors/grue/grue.pro b/examples/sensors/grue/grue.pro index cc6d11c..7290cd3 100644 --- a/examples/sensors/grue/grue.pro +++ b/examples/sensors/grue/grue.pro @@ -2,7 +2,7 @@ TEMPLATE = subdirs SUBDIRS += lib plugin console_app -!isEmpty(QT.quick.name): SUBDIRS += import qml.pro +qtHaveModule(quick): SUBDIRS += import qml.pro plugin.depends = lib import.depends = lib diff --git a/examples/sensors/sensors.pro b/examples/sensors/sensors.pro index f98b4c1..dea7609 100644 --- a/examples/sensors/sensors.pro +++ b/examples/sensors/sensors.pro @@ -2,7 +2,7 @@ TEMPLATE = subdirs SUBDIRS += grue -!isEmpty(QT.quick.name) { +qtHaveModule(quick) { SUBDIRS += \ accelbubble \ cubehouse \ @@ -13,7 +13,7 @@ SUBDIRS += grue shakeit } -!isEmpty(QT.widgets.name):SUBDIRS += \ +qtHaveModule(widgets): SUBDIRS += \ sensorgestures OTHER_FILES = stub.h -- cgit v1.2.1