summaryrefslogtreecommitdiffstats
path: root/src/webengine/plugin/experimental/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webengine/plugin/experimental/plugin.cpp')
-rw-r--r--src/webengine/plugin/experimental/plugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webengine/plugin/experimental/plugin.cpp b/src/webengine/plugin/experimental/plugin.cpp
index 93f0cb7f0..6e4853fea 100644
--- a/src/webengine/plugin/experimental/plugin.cpp
+++ b/src/webengine/plugin/experimental/plugin.cpp
@@ -84,6 +84,9 @@ public:
qmlRegisterUncreatableType<QQuickWebEngineDownloadItem>(uri, 1, 0, "WebEngineDownloadItem",
QObject::tr("Cannot create a separate instance of WebEngineDownloadItem"));
qmlRegisterSingletonType<QQuickWebEngineSingleton>(uri, 1, 0, "WebEngine", webEngineSingletonProvider);
+
+ // Use the latest revision of QQuickWebEngineView when importing QtWebEngine.experimental 1.0
+ qmlRegisterRevision<QQuickWebEngineView, 1>(uri, 1, 0);
}
};