summaryrefslogtreecommitdiffstats
path: root/src/core/ozone
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2021-06-01 17:26:36 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-15 17:29:50 +0000
commit5f4fb14cb0f6b443885e79516f450853e44f650d (patch)
treeaefc9b4cea1e64ea51f02c5d99ce22206d87488c /src/core/ozone
parent8d23c52719a23dea77a75a959ca3462e38de259c (diff)
Fix QWebEngineQuick namespace for webenginequick module
This is followup change for QtWebEngineQuick rename. [ChangeLog][QtWebEngineQuick] Use namespace QtWebEngineQuick QtWebEngine::initialize() is now QtWebEnigneQuick::initialize() Change-Id: I90acab04ff0240b399a863c88eff915efa360f6f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 5f723fe7469ac9ce3373dbcd3eb0978595271514) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/core/ozone')
-rw-r--r--src/core/ozone/gl_context_qt.cpp2
-rw-r--r--src/core/ozone/gl_share_context_qt.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ozone/gl_context_qt.cpp b/src/core/ozone/gl_context_qt.cpp
index 1b1cef485..554977516 100644
--- a/src/core/ozone/gl_context_qt.cpp
+++ b/src/core/ozone/gl_context_qt.cpp
@@ -62,7 +62,7 @@ inline void *resourceForContext(const QByteArray &resource)
#if QT_CONFIG(opengl)
QOpenGLContext *shareContext = qt_gl_global_share_context();
if (!shareContext) {
- qFatal("QWebEngine: OpenGL resource sharing is not set up in QtQuick. Please make sure to call QtWebEngine::initialize() in your main() function.");
+ qFatal("QWebEngine: OpenGL resource sharing is not set up in QtQuick. Please make sure to call QtWebEngineCore::initialize() in your main() function.");
}
return qApp->platformNativeInterface()->nativeResourceForContext(resource, shareContext);
#else
diff --git a/src/core/ozone/gl_share_context_qt.cpp b/src/core/ozone/gl_share_context_qt.cpp
index f6b9aa63f..4865734f7 100644
--- a/src/core/ozone/gl_share_context_qt.cpp
+++ b/src/core/ozone/gl_share_context_qt.cpp
@@ -100,7 +100,7 @@ void ShareGroupQt::AboutToAddFirstContext()
QOpenGLContext *shareContext = QOpenGLContext::globalShareContext();
if (!shareContext) {
qFatal("QWebEngine: OpenGL resource sharing is not set up in QtQuick. Please make sure to "
- "call QtWebEngine::initialize() in your main() function before QCoreApplication is "
+ "call QtWebEngineCore::initialize() in your main() function before QCoreApplication is "
"created.");
}
m_shareContextQt = new QtShareGLContext(shareContext);