From f014893e2d19ae51c2f9138ab66eccf7684000ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Str=C3=B8mme?= Date: Thu, 28 Jan 2016 19:00:40 +0100 Subject: Add a proper backend for WebEngine This removes the need for the awkward type re-registering and renaming that was done in the Qml plugin, to support QtWebEngine. Among other issues, the main motivation for this change is to unify the implementations, and make it possible to run the auto tests that interfaces directly with the QQuickWebView class. Having an actual backend for Qt WebEngine means we can get rid of the, non-functional, default implementation as well. Change-Id: Ia93611ed2755c92207ca86ba3890ac4c2c4d72e9 Reviewed-by: Eskil Abrahamsen Blomfeldt --- tests/auto/qml/qquickwebview/tst_qquickwebview.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp b/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp index fd1f0d0..e3162bc 100644 --- a/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp +++ b/tests/auto/qml/qquickwebview/tst_qquickwebview.cpp @@ -26,6 +26,7 @@ #include #include #include +#include QString getTestFilePath(const QString &testFile) { @@ -95,6 +96,7 @@ QQuickWebView *tst_QQuickWebView::newWebView() void tst_QQuickWebView::init() { + QtWebView::initialize(); m_window.reset(new TestWindow(newWebView())); } -- cgit v1.2.3