summaryrefslogtreecommitdiffstats
path: root/src/webenginequick/doc
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2022-06-29 09:29:42 +0200
committerKai Köhne <kai.koehne@qt.io>2022-07-08 09:44:37 +0200
commitbcb415e9bab692479a8d4554d2f9b6aff3857ae7 (patch)
treecd5a351e810f1d86aa5cbb7c1032aeaaedd88579 /src/webenginequick/doc
parent8efa3dbeaceed5ae7485296e2ae5ed6b7effdaaf (diff)
Doc: Do not advertise Qt module include
People should rather use class includes, like they are advertised in each class documentation. Pick-to: 6.4 Change-Id: I3fc26c2ff01e35595959878c392dcafa2527d29f Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
Diffstat (limited to 'src/webenginequick/doc')
-rw-r--r--src/webenginequick/doc/snippets/qtwebengine_build_snippet.qdoc5
-rw-r--r--src/webenginequick/doc/src/qtwebengine-module.qdoc5
-rw-r--r--src/webenginequick/doc/src/qtwebengine-qmlmodule.qdoc5
3 files changed, 0 insertions, 15 deletions
diff --git a/src/webenginequick/doc/snippets/qtwebengine_build_snippet.qdoc b/src/webenginequick/doc/snippets/qtwebengine_build_snippet.qdoc
index d1e230db1..76dea97cf 100644
--- a/src/webenginequick/doc/snippets/qtwebengine_build_snippet.qdoc
+++ b/src/webenginequick/doc/snippets/qtwebengine_build_snippet.qdoc
@@ -5,11 +5,6 @@
QT += webenginequick
//! [0]
-
-//! [1]
-#include <QtWebEngineQuick>
-//! [1]
-
//! [2]
find_package(Qt6 REQUIRED COMPONENTS WebEngineQuick)
target_link_libraries(target PRIVATE Qt::WebEngineQuick)
diff --git a/src/webenginequick/doc/src/qtwebengine-module.qdoc b/src/webenginequick/doc/src/qtwebengine-module.qdoc
index 21d8b4749..6f50cc2f4 100644
--- a/src/webenginequick/doc/src/qtwebengine-module.qdoc
+++ b/src/webenginequick/doc/src/qtwebengine-module.qdoc
@@ -12,11 +12,6 @@
The \QWE Quick module exposes C++ functionality to Qt Quick.
- To include the definitions of the module's classes, use the
- following directive:
-
- \snippet qtwebengine_build_snippet.qdoc 1
-
\if !defined(qtforpython)
To link against the module, add the following to your qmake project file:
diff --git a/src/webenginequick/doc/src/qtwebengine-qmlmodule.qdoc b/src/webenginequick/doc/src/qtwebengine-qmlmodule.qdoc
index 7899fad56..19348508c 100644
--- a/src/webenginequick/doc/src/qtwebengine-qmlmodule.qdoc
+++ b/src/webenginequick/doc/src/qtwebengine-qmlmodule.qdoc
@@ -8,11 +8,6 @@
\ingroup qtwebengine-modules
\ingroup qmlmodules
- The QML types can be imported into your application using the following import statements in
- your .qml file:
-
- \snippet qtwebengine_build_snippet.qdoc 1
-
To link against the module using build with qmake,
add the following QT variable to your qmake .pro file: