diff options
author | Michal Klocek <michal.klocek@qt.io> | 2021-06-01 17:26:36 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2021-06-15 12:58:21 +0200 |
commit | 5f723fe7469ac9ce3373dbcd3eb0978595271514 (patch) | |
tree | 6db35aad83bad5db726b6948740fb5504f5430b0 /src/webenginequick/doc/src/webengineview_lgpl.qdoc | |
parent | 31616ac94abad3e3d57b4b2d51858106655a85dd (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()
Pick-to: 6.2
Change-Id: I90acab04ff0240b399a863c88eff915efa360f6f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webenginequick/doc/src/webengineview_lgpl.qdoc')
-rw-r--r-- | src/webenginequick/doc/src/webengineview_lgpl.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webenginequick/doc/src/webengineview_lgpl.qdoc b/src/webenginequick/doc/src/webengineview_lgpl.qdoc index 498088a4a..1ea484703 100644 --- a/src/webenginequick/doc/src/webengineview_lgpl.qdoc +++ b/src/webenginequick/doc/src/webengineview_lgpl.qdoc @@ -38,7 +38,7 @@ \section2 Initializing Web Engine For the web engine view to be rendered, the web engine must be initialized by using - \l QtWebEngine::initialize in the application main source file, as illustrated by the + \l QtWebEngineQuick::initialize in the application main source file, as illustrated by the following code snippet: \quotefromfile webengine/minimal/main.cpp @@ -137,7 +137,7 @@ When using a QQuickRenderControl to render a Qt Quick user interface to an OpenGL surface, the WebEngineView type is not rendered correctly. The web engine view attempts to use a global - OpenGL context created by \l QtWebEngine::initialize, but there is no public API for accessing + OpenGL context created by \l QtWebEngineQuick::initialize, but there is no public API for accessing that context in order to share it with the \c QQuickRenderControl context. To have the web engine view rendered correctly, it is possible to manually create a new |