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.

Pick-to: 6.2 6.3 6.4
Change-Id: I29212b603bfd9cf24ecb327317be8f1410b2cfda
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Mitch Curtis 2022-08-05 15:33:32 +08:00
parent 3edebbb764
commit f2c87dda91
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,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}