diff options
Diffstat (limited to 'examples/sensors')
-rw-r--r-- | examples/sensors/grue/grue.pro | 3 | ||||
-rw-r--r-- | examples/sensors/sensors.pro | 22 |
2 files changed, 14 insertions, 11 deletions
diff --git a/examples/sensors/grue/grue.pro b/examples/sensors/grue/grue.pro index de917bf7..cc6d11cd 100644 --- a/examples/sensors/grue/grue.pro +++ b/examples/sensors/grue/grue.pro @@ -1,7 +1,8 @@ TEMPLATE = subdirs SUBDIRS += lib plugin console_app -SUBDIRS += import qml.pro + +!isEmpty(QT.quick.name): SUBDIRS += import qml.pro plugin.depends = lib import.depends = lib diff --git a/examples/sensors/sensors.pro b/examples/sensors/sensors.pro index 0c894d61..7fe9a092 100644 --- a/examples/sensors/sensors.pro +++ b/examples/sensors/sensors.pro @@ -1,15 +1,17 @@ TEMPLATE = subdirs -SUBDIRS += \ - accel \ - accelbubble \ - cubehouse \ - grue \ - qmlsensorgestures \ - maze \ - qmlqtsensors \ - sensor_explorer \ - shakeit +SUBDIRS += accel grue + +!isEmpty(QT.quick.name) { + SUBDIRS += \ + accelbubble \ + cubehouse \ + qmlsensorgestures \ + maze \ + qmlqtsensors \ + sensor_explorer \ + shakeit +} !isEmpty(QT.widgets.name):SUBDIRS += \ sensorgestures |