aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2016-08-26 11:59:58 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-08-26 11:11:48 +0000
commit3393a78af194e3fe2db61f8b3d018a599270b796 (patch)
tree8e574750481e20ffd66c28bf8434182ba858542a /src
parent904b4130be7c4ce2c91ca57864b373938a4ed237 (diff)
Improve robustness of QML plugin loadingv5.8.0-alpha1
Use a variable that expands to the latest plugin version instead of hard-coding the string. Change-Id: Ica08496d3a9a357db32d0cd1e0abc8503c575c2e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/imports/winextras/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/winextras/plugin.cpp b/src/imports/winextras/plugin.cpp
index c74cd2b..55be331 100644
--- a/src/imports/winextras/plugin.cpp
+++ b/src/imports/winextras/plugin.cpp
@@ -61,7 +61,7 @@ QT_BEGIN_NAMESPACE
class QWinExtrasQmlPlugin : public QQmlExtensionPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface/1.0")
+ Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
public:
QWinExtrasQmlPlugin(QObject *parent = 0) : QQmlExtensionPlugin(parent) { initResources(); }