diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-08-26 12:03:30 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-08-26 11:17:46 +0000 |
commit | 0032fd615097baeff2414e352e095bc412000941 (patch) | |
tree | 6a16e98152238104c544603148a5440f1c355a4c /src | |
parent | b421290b67507cfe125db206f378fc1b38eaae4e (diff) | |
download | qtsensors-0032fd615097baeff2414e352e095bc412000941.tar.gz |
Fix loading of QML pluginsv5.8.0-alpha1
Since commit 709f6370884b110def2e4665df8fa7bbf5fae734 the plugin loader
is strict about requiring the correct interface id, to avoid loading
unrelated plugins in the loader thread (which they may not be prepared
to do).
Change-Id: I84e4d927489f9a14615db399b560af4b352bf045
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/sensors/sensors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/sensors/sensors.cpp b/src/imports/sensors/sensors.cpp index c6f61c2..d1f5bb4 100644 --- a/src/imports/sensors/sensors.cpp +++ b/src/imports/sensors/sensors.cpp @@ -93,7 +93,7 @@ static QObject *global_object_50(QQmlEngine *, QJSEngine *) class QtSensorsDeclarativeModule : public QQmlExtensionPlugin { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface" FILE "plugin.json") + Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid FILE "plugin.json") public: QtSensorsDeclarativeModule(QObject *parent = 0) : QQmlExtensionPlugin(parent) { initResources(); } virtual void registerTypes(const char *uri) |