2021-06-18 16:19:24 +02:00
|
|
|
set(TSTFLAMEGRAPHVIEW_CPP_SOURCES
|
|
|
|
|
testflamegraphmodel.h
|
|
|
|
|
tst_flamegraphview.cpp
|
|
|
|
|
)
|
|
|
|
|
|
2022-07-17 13:43:49 +02:00
|
|
|
add_qtc_test(tst_tracing_flamegraphview
|
2023-08-10 11:28:41 +02:00
|
|
|
NEEDS_GUI
|
2022-07-17 13:43:49 +02:00
|
|
|
EXCLUDE_FROM_PRECHECK
|
2022-12-20 17:31:22 +01:00
|
|
|
DEPENDS Tracing Qt::QuickWidgets Qt::Quick Utils
|
2022-07-17 13:43:49 +02:00
|
|
|
)
|
2021-07-06 14:00:45 +02:00
|
|
|
|
2022-07-17 13:43:49 +02:00
|
|
|
if (NOT TARGET tst_tracing_flamegraphview) # qt_add_qml_module has no DEPENDS check
|
|
|
|
|
return()
|
|
|
|
|
endif()
|
2021-08-27 12:16:49 +02:00
|
|
|
|
2022-07-17 13:43:49 +02:00
|
|
|
qt_add_qml_module(tst_tracing_flamegraphview
|
|
|
|
|
URI "QtCreator.TstTracingFlameGraphView"
|
|
|
|
|
VERSION "1.0"
|
|
|
|
|
NO_PLUGIN
|
2022-07-19 17:26:34 +02:00
|
|
|
RESOURCE_PREFIX "/qt/qml"
|
2022-07-17 13:43:49 +02:00
|
|
|
QML_FILES
|
|
|
|
|
TestFlameGraphView.qml
|
|
|
|
|
SOURCES
|
|
|
|
|
${TSTFLAMEGRAPHVIEW_CPP_SOURCES}
|
|
|
|
|
)
|