aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/doc')
-rw-r--r--src/qml/doc/src/cmake/qt_target_compile_qml_to_cpp.qdoc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/doc/src/cmake/qt_target_compile_qml_to_cpp.qdoc b/src/qml/doc/src/cmake/qt_target_compile_qml_to_cpp.qdoc
index 99c64e74ab..f6c56a94af 100644
--- a/src/qml/doc/src/cmake/qt_target_compile_qml_to_cpp.qdoc
+++ b/src/qml/doc/src/cmake/qt_target_compile_qml_to_cpp.qdoc
@@ -40,6 +40,7 @@
qt_target_compile_qml_to_cpp(
target
FILES ...
+ [NAMESPACE namespace]
)
\endcode
@@ -67,6 +68,10 @@ most cases, all the target's QML files would be specified in the FILES. This
way, FILES argument is equivalent to QML_FILES argument of the
qt_add_qml_module() command.
+\c NAMESPACE argument defines a namespace, in which the generated C++ code
+resides. By default, no namespace is specified for user projects. The code
+generated from Qt's own sources is put under a QT_NAMESPACE namespace.
+
While processing FILES, the following source file properties are respected:
\list
\li \c{QT_QMLTC_FILE_BASENAME}: use this source file property to specify a