summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/api/qtwebenginewidgetsglobal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webenginewidgets/api/qtwebenginewidgetsglobal.cpp')
-rw-r--r--src/webenginewidgets/api/qtwebenginewidgetsglobal.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/webenginewidgets/api/qtwebenginewidgetsglobal.cpp b/src/webenginewidgets/api/qtwebenginewidgetsglobal.cpp
index cffdb74bc..7d3954772 100644
--- a/src/webenginewidgets/api/qtwebenginewidgetsglobal.cpp
+++ b/src/webenginewidgets/api/qtwebenginewidgetsglobal.cpp
@@ -44,9 +44,12 @@
#include "qtwebengineglobal.h"
#include <QCoreApplication>
+QT_BEGIN_NAMESPACE
static void initialize()
{
- QWebEngine::initialize();
+ QtWebEngine::initialize();
}
Q_COREAPP_STARTUP_FUNCTION(initialize)
+
+QT_END_NAMESPACE