forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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}
|
||||
)
|
||||
|
Reference in New Issue
Block a user