summaryrefslogtreecommitdiffstats
path: root/src/quick3d/imports/input
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2016-08-26 11:55:00 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-08-26 13:42:32 +0000
commit7cc41b9f6c18365baee5a2d08221bbd98b706e3c (patch)
treeee5a60b97caee7d88dd7db447df0ff06d98d6687 /src/quick3d/imports/input
parented4fdee825f1bb5db626909c7b4353a3122ff395 (diff)
Improve robustness of QML plugin loading
Use a variable that expands to the latest plugin version instead of hard-coding the string. Change-Id: Ia933f761c6f91bc1cedeba9f7d6e1fb2ecb810d5 Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/quick3d/imports/input')
-rw-r--r--src/quick3d/imports/input/qt3dquick3dinputplugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick3d/imports/input/qt3dquick3dinputplugin.h b/src/quick3d/imports/input/qt3dquick3dinputplugin.h
index d644614e7..8a54eaa53 100644
--- a/src/quick3d/imports/input/qt3dquick3dinputplugin.h
+++ b/src/quick3d/imports/input/qt3dquick3dinputplugin.h
@@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE
class Qt3DQuick3DInputPlugin : public QQmlExtensionPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface/1.0")
+ Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
public:
Qt3DQuick3DInputPlugin(QObject *parent = nullptr) : QQmlExtensionPlugin(parent) { initResources(); }
void registerTypes(const char *uri) Q_DECL_OVERRIDE;