summaryrefslogtreecommitdiffstats
path: root/examples/sensors/grue
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sensors/grue')
-rw-r--r--examples/sensors/grue/grue.pro2
-rw-r--r--examples/sensors/grue/plugin/main.cpp2
2 files changed, 2 insertions, 2 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()