aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-01-25 11:05:51 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-26 01:40:06 +0000
commit3c57d75b2d96cdf887c60f56e00c2980c2eb27d2 (patch)
treeb74ad1a9d2963626111cdff5626a0b22195326c5 /tests
parenta384a9fa58a2674bdecf473414014982912d16cf (diff)
Add missing dependencies to tst_qmlcppcodegen
Change-Id: Ifb5af14faa8229d4f7025d275147044629f4f2cb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 672891354220c05a712663d637e5c5d0074a3181) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt b/tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt
index 65128f76b1..ddbc17e18a 100644
--- a/tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt
+++ b/tests/auto/qml/qmlcppcodegen/data/CMakeLists.txt
@@ -140,6 +140,10 @@ qt6_add_qml_module(codegen_test_module
VERSION 1.0
URI TestTypes
IMPORT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/imports/"
+ DEPENDENCIES
+ QtQuick
+ QtQuick.Templates
+ QtQuick.Shapes
SOURCES
${cpp_sources}
QML_FILES
@@ -149,4 +153,6 @@ qt6_add_qml_module(codegen_test_module
OUTPUT_DIRECTORY TestTypes # Make sure tst_qmlcachegen doesn't see our output
)
+add_dependencies(codegen_test_module Qt::Quick Qt::QuickTemplates2 Qt::QuickShapesPrivate)
+
qt_autogen_tools_initial_setup(codegen_test_moduleplugin)