aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2022-08-05 15:33:32 +0800
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-08-12 05:18:32 +0000
commitc9187c9068cc31c25545c1a832f0a2ee30731f62 (patch)
tree3d20ecf6c4241e0d33e5f62e2783360256d2e290
parent5c597dd0b8adf8e70f9ce6d7e2daef3ce1e08bba (diff)
Doc: link to QML module examples from qt_add_qml_module page
Users need code they can copy, and qt_add_qml_module lacks examples of e.g. main.cpp and its position within the recommended directory structure. Change-Id: I29212b603bfd9cf24ecb327317be8f1410b2cfda Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit f2c87dda912eeb936259485051ef104a19c617b9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/qml/doc/src/cmake/qt_add_qml_module.qdoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/doc/src/cmake/qt_add_qml_module.qdoc b/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
index f49316faef..44849d8153 100644
--- a/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
+++ b/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
@@ -75,6 +75,9 @@ qt_add_qml_module(
\versionlessCMakeCommandsNote qt6_add_qml_module()
+See \l {Building a QML application} and \l {Building a reusable QML module}
+for examples that define QML modules.
+
\section1 Description
This command defines a QML module that can consist of C++ sources, \c{.qml}