summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/qwebengineframe/tst_qwebengineframe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/qwebengineframe/tst_qwebengineframe.cpp')
-rw-r--r--tests/auto/widgets/qwebengineframe/tst_qwebengineframe.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/widgets/qwebengineframe/tst_qwebengineframe.cpp b/tests/auto/widgets/qwebengineframe/tst_qwebengineframe.cpp
index 448f488f6..608b09396 100644
--- a/tests/auto/widgets/qwebengineframe/tst_qwebengineframe.cpp
+++ b/tests/auto/widgets/qwebengineframe/tst_qwebengineframe.cpp
@@ -45,6 +45,7 @@ public:
bool eventFilter(QObject* watched, QEvent* event);
public Q_SLOTS:
+ void initTestCase();
void init();
void cleanup();
@@ -115,6 +116,11 @@ bool tst_QWebEngineFrame::eventFilter(QObject* watched, QEvent* event)
return QObject::eventFilter(watched, event);
}
+void tst_QWebEngineFrame::initTestCase()
+{
+ QWebEngineWidgets::initialize();
+}
+
void tst_QWebEngineFrame::init()
{
m_view = new QWebEngineView();