summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/qwebenginehistory
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/qwebenginehistory')
-rw-r--r--tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp b/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp
index a5cbc6103..14008d075 100644
--- a/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp
+++ b/tests/auto/widgets/qwebenginehistory/tst_qwebenginehistory.cpp
@@ -42,6 +42,7 @@ protected :
}
public Q_SLOTS:
+ void initTestCase();
void init();
void cleanup();
@@ -86,6 +87,11 @@ tst_QWebEngineHistory::~tst_QWebEngineHistory()
{
}
+void tst_QWebEngineHistory::initTestCase()
+{
+ QWebEngineWidgets::initialize();
+}
+
void tst_QWebEngineHistory::init()
{
page = new QWebEnginePage(this);