summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2022-11-22 12:09:16 +0100
committerEike Ziller <eike.ziller@qt.io>2022-11-23 08:38:02 +0000
commitb7716087e12d2c5f0b67d55f84a8a58619bdf900 (patch)
tree6c51b57ace2a7ce45efe6b88dbcb1f5360c7244d
parent0f8613f61b442ed9f3aa45c55c6c165f1f4779aa (diff)
downloadqt-creator-b7716087e12d2c5f0b67d55f84a8a58619bdf900.tar.gz
tst_tracing_*: Fix build in certain configurations
There are Linux distributions that (at least for building packages) separate the development packages for the various Qt modules. So, to find the include <QtQml/qqml.h> in timelinemodel.h when building the test, a dependency on QtQml is required. Pass the dependency down to everyone depending on the tracing lib. Fixes: QTCREATORBUG-28434 Change-Id: I58a534a9c25f1f6ecfc10a9ce8292b5983cdcbae Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
-rw-r--r--src/libs/tracing/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/tracing/CMakeLists.txt b/src/libs/tracing/CMakeLists.txt
index 3b8eed445a..c7f5979819 100644
--- a/src/libs/tracing/CMakeLists.txt
+++ b/src/libs/tracing/CMakeLists.txt
@@ -38,8 +38,8 @@ find_package(Qt6 COMPONENTS ShaderTools QUIET)
add_qtc_library(Tracing
CONDITION TARGET Qt6::ShaderTools AND TARGET Qt5::Quick
FEATURE_INFO
- DEPENDS Utils Qt5::Qml Qt5::Quick
- PUBLIC_DEPENDS Qt5::Widgets
+ DEPENDS Utils Qt5::Quick
+ PUBLIC_DEPENDS Qt5::Widgets Qt5::Qml
SOURCES
${TEST_SOURCES}
)