summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hausmann <[email protected]>2016-08-26 11:59:48 +0200
committerSimon Hausmann <[email protected]>2016-09-27 06:49:13 +0000
commitc275340496c36a0466dd66eba93031e89606c475 (patch)
treea136cc406c8f616092ce6c07bc7f4e8366f65d15
parent67580ae6e2f75d93aae1e3412bf9c042b2992320 (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: I167c14ea612349f0ba0e9e29a129fb6c975504a0 Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
-rw-r--r--src/imports/webview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/webview.cpp b/src/imports/webview.cpp
index 22c80a1..f4e0c70 100644
--- a/src/imports/webview.cpp
+++ b/src/imports/webview.cpp
@@ -45,7 +45,7 @@ QT_BEGIN_NAMESPACE
class QWebViewModule : public QQmlExtensionPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface/1.0")
+ Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid)
public:
void registerTypes(const char *uri)
{