summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-12-21 10:01:21 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-08 21:50:17 (GMT)
commit6fbba82a7b5d1ae47b376a2d27bc0fed78f280e0 (patch)
tree673d0f2db594c85df80eca8ae030b91b89e66d31 /examples
parent6323be3e2fc1b69145f37cda1d0214ec5fa3cb44 (diff)
downloadqtsensors-6fbba82a7b5d1ae47b376a2d27bc0fed78f280e0.tar.gz
make use of qtHaveModule()
Change-Id: I17123244323118e9dc9faa090f94faa9b2dcb795 Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/sensors/grue/grue.pro2
-rw-r--r--examples/sensors/sensors.pro4
2 files changed, 3 insertions, 3 deletions
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