summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2016-08-26 12:47:44 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-08-29 08:15:53 +0000
commitbf66a8531e0ada3ade7e873bc3fae824237acd3e (patch)
treefb6248ea7a263f4902bc4b2980776c54be138150 /src
parenta5d51e11b76d8f6a6276f7e89bf0ccbc2985d474 (diff)
downloadqtwebchannel-bf66a8531e0ada3ade7e873bc3fae824237acd3e.tar.gz
Fix loading of QML pluginsv5.8.0-beta1v5.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: If86aec735525d2fd169d2d3fae451316f656f238 Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/imports/webchannel/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/webchannel/plugin.cpp b/src/imports/webchannel/plugin.cpp
index 3779de3..c66f75f 100644
--- a/src/imports/webchannel/plugin.cpp
+++ b/src/imports/webchannel/plugin.cpp
@@ -55,7 +55,7 @@ QT_BEGIN_NAMESPACE
class QWebChannelPlugin : public QQmlExtensionPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
+ Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
public:
QWebChannelPlugin(QObject *parent = 0) : QQmlExtensionPlugin(parent) { initResources(); }