diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2021-06-18 16:19:24 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2021-06-28 15:06:39 +0000 |
commit | 3ebe5dbb99f788e1c93e8484431c796b29f2e256 (patch) | |
tree | 13e7e52ddc611cadb40ec07ccd6f5c3afc473541 /src/libs/tracing | |
parent | 45b41a04c392a61e44a05c501d313cc6100eebc2 (diff) | |
download | qt-creator-3ebe5dbb99f788e1c93e8484431c796b29f2e256.tar.gz |
Tracing: Use qt_add_qml_module for tst_flamegraphview
Use the CMake-based qml API to create the
"QtCreator.TstTracingFlameGraphView" module.
This uses qt_add_qml_module, which was introduced with Qt 6.2.
For Qt 6.1 and below, everything compiles and runs like before this
change.
Change-Id: I7b1d7109c5fcff55c7be4b431f21281a63d13332
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/libs/tracing')
-rw-r--r-- | src/libs/tracing/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/tracing/CMakeLists.txt b/src/libs/tracing/CMakeLists.txt index 8d445df2bf..4ebc77b913 100644 --- a/src/libs/tracing/CMakeLists.txt +++ b/src/libs/tracing/CMakeLists.txt @@ -2,6 +2,8 @@ if (WITH_TESTS) set(TEST_SOURCES runscenegraphtest.cpp runscenegraphtest.h ) +else() + set(TEST_SOURCES "") endif() set(TRACING_CPP_SOURCES |