diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/sensors/grue/grue.pro | 2 | ||||
-rw-r--r-- | examples/sensors/sensors.pro | 4 |
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 |