aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlbasicapp
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@qt.io>2021-07-19 16:46:54 +1000
committerCraig Scott <craig.scott@qt.io>2021-07-20 16:33:48 +1000
commit4e18e7d377c56d41c1d6f3cf9be37f1af94cd1b1 (patch)
tree21501385e29fe2fe2eff55e40dd67632667b45ef /tests/auto/qml/qmlbasicapp
parentf6f767bd9fe01816e3dfe7f1e662eac77e460bbf (diff)
CMake: Add missing dependencies for tst_qmlbasicapp
The test executable needs to depend on the QML module and its plugin because there is no direct link at the library level. The dependency exists at the QML level, so we need to tell CMake or else the plugin may not get built and that will result in failures due to not being able to load the QML plugin at run time. Pick-to: 6.2 Change-Id: Iafd1b8c15e3b2c227c7654d6fe39340e686f72a1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlbasicapp')
-rw-r--r--tests/auto/qml/qmlbasicapp/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlbasicapp/CMakeLists.txt b/tests/auto/qml/qmlbasicapp/CMakeLists.txt
index c121c089ee..276ef9a0e8 100644
--- a/tests/auto/qml/qmlbasicapp/CMakeLists.txt
+++ b/tests/auto/qml/qmlbasicapp/CMakeLists.txt
@@ -15,3 +15,4 @@ qt6_add_qml_module(tst_qmlbasicapp
)
add_subdirectory(TimeExample)
+add_dependencies(tst_qmlbasicapp qmlqtimeexample qmlqtimeexampleplugin)