aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2022-01-21 13:02:31 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-26 07:09:35 +0000
commit5d6edbe34d03d24ca086556452db336012951590 (patch)
treef0c05a1fce6c72183227a600ddf54475632c3f3a
parent396b1e0c74fcd70c31fb1c46483be401671faac8 (diff)
Add qmltc to QtQuick's tools and utilities
This practically looks like the only place that is reachable with a random walk from the starting documentation page. Otherwise, the only option to discover qmltc docs is to know the 'qmltc' term and use it in the search, which is not exceptionally friendly Change-Id: I117aea19434c3ee19a053b5f1126abb1cd09310f Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 64ec9d4468a50fd30618e2fd067ef4cd905c5290) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc b/src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc
index 266cbf064c..9d1ff64f81 100644
--- a/src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc
+++ b/src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc
@@ -114,4 +114,19 @@ If you wish to have your file updated in-place specify the \c{-i} flag.
You may also change tab widths and line ending types among other settings,
either via command line options or by using a settings file.
+
+\section1 qmltc
+
+\l{QML Type Compiler}{qmltc} is a tool that compiles QML types to C++ classes.
+Its generated output acts as an alternative to the QQmlComponent-based object
+creation.
+
+Once enabled through \l{qt_target_compile_qml_to_cpp}{CMake}, \c qmltc runs
+ahead of time during your project build phase.
+
+To make use of the compiled C++, you \e must modify your application-side C++
+code (in particular, the way you instantiate QML objects from C++).
+
+See the full documentation page of \l{QML Type Compiler}{qmltc} for details.
+
*/