aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndrei Golubev <andrei.golubev@qt.io>2021-12-13 17:12:46 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-19 20:27:06 +0000
commit905eea6c506eb87079d416fdd8e2ec640a7c130d (patch)
tree083965f8f286be1fc29bb8f28e6f32c7bf3be677 /tests
parent7eeafb17a9d00197d785c11349694e7053b53174 (diff)
Document qmltc tool
Add initial qmltc tool documentation with introduction, compilation process picture, description and limitations To simplify the description, we can consider some simple application. The same app can additionally become a test scenario for qmltc and a showcase of its capabilities Task-number: QTBUG-84368 Change-Id: If6d586a8c68f48d17133b25170d0fff627e2066c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit de30f10aeb1ccf495cf39b3910e89d60f3dc591a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qmltc/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qmltc/CMakeLists.txt b/tests/auto/qml/qmltc/CMakeLists.txt
index e6982ab1e3..26cb145807 100644
--- a/tests/auto/qml/qmltc/CMakeLists.txt
+++ b/tests/auto/qml/qmltc/CMakeLists.txt
@@ -143,3 +143,8 @@ qt_internal_target_compile_qml_to_cpp(tst_qmltc_nodiskcache
FILES
${qml_sources}
)
+
+# Add qmltc documentation example to the tests. This is not beautiful but allows
+# to nicely test the documentation snippets automatically (and so making sure
+# the code there is up-to-date)
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../../../src/qml/doc/snippets/qmltc snippets)