aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/snippets/qmltc
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2024-09-09 11:58:43 +0200
committerUlf Hermann <ulf.hermann@qt.io>2024-09-10 15:51:06 +0200
commit9ea281b3b5a8a6eeef9db597761de84fe8ccbaf2 (patch)
tree6ebad8636bae970709de538de4d34dda268b101a /src/qml/doc/snippets/qmltc
parent453846076b07d5cb10854d90b3bf2572f7f55ab2 (diff)
Tests: Fix various CMake warnings
Add NO_GENERATE_EXTRA_QMLDIRS where applicable, make output directories and module URIs match, and avoid setting QTP0004 to OLD since that just generates a different warning. Also, explicitly include some .js files in the qmldir, even if that means re-evaluation on each import. Pick-to: 6.8 Change-Id: Ia03445ed7df85aa4d2032ba51675bab7501ad55b Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/doc/snippets/qmltc')
-rw-r--r--src/qml/doc/snippets/qmltc/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/doc/snippets/qmltc/CMakeLists.txt b/src/qml/doc/snippets/qmltc/CMakeLists.txt
index e7b150a787..4574a44795 100644
--- a/src/qml/doc/snippets/qmltc/CMakeLists.txt
+++ b/src/qml/doc/snippets/qmltc/CMakeLists.txt
@@ -53,6 +53,7 @@ qt6_add_qml_module(${application_name}
# Compile qml files (listed in QML_FILES) to C++ using qmltc and add these
# files to the application binary:
ENABLE_TYPE_COMPILER
+ NO_GENERATE_EXTRA_QMLDIRS
)
#! [qmltc-add-qml-module]