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:31 +0000
commit934a12dd6480e7c7dbee30b342258c6d82fd7598 (patch)
tree15a4dbc2d4bc16c5ca52370da4f4d11cc030060c
parent8ca41ef6e23ce9a3f8ef04069a4d0f6e34b3114b (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 ceeae7450b..20c343a1bd 100644
--- a/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
+++ b/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
@@ -55,6 +55,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}