diff options
Diffstat (limited to 'tests/auto/qml/qquickwebview/tst_qquickwebview.cpp')
-rw-r--r-- | tests/auto/qml/qquickwebview/tst_qquickwebview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 <QtWebView/private/qquickwebview_p.h> #include <QtCore/qfile.h> #include <QtCore/qstandardpaths.h> +#include <QtWebView/qtwebviewfunctions.h> 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())); } |