diff options
Diffstat (limited to 'examples/sensors')
-rw-r--r-- | examples/sensors/grue/grue.pro | 2 | ||||
-rw-r--r-- | examples/sensors/grue/plugin/main.cpp | 2 | ||||
-rw-r--r-- | examples/sensors/sensors.pro | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/sensors/grue/grue.pro b/examples/sensors/grue/grue.pro index cc6d11cd..7290cd34 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/grue/plugin/main.cpp b/examples/sensors/grue/plugin/main.cpp index 6ec25866..029e5d6b 100644 --- a/examples/sensors/grue/plugin/main.cpp +++ b/examples/sensors/grue/plugin/main.cpp @@ -48,7 +48,7 @@ class GrueSensorPlugin : public QObject, public QSensorPluginInterface, public QSensorChangesInterface, public QSensorBackendFactory { Q_OBJECT - Q_PLUGIN_METADATA(IID "com.nokia.Qt.QSensorPluginInterface/1.0" FILE "plugin.json") + Q_PLUGIN_METADATA(IID "com.qt-project.Qt.QSensorPluginInterface/1.0" FILE "plugin.json") Q_INTERFACES(QSensorPluginInterface QSensorChangesInterface) public: void registerSensors() diff --git a/examples/sensors/sensors.pro b/examples/sensors/sensors.pro index f98b4c15..dea76094 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 |