CMake build/Qt6: Automatically disable build of profilers

Tracing library does not build with Qt 6. Disable that automatically
and also the plugins that depend on it. Add some feature info for
the Tracing library, though we usually do not add feature information
for libraries in general.

Change-Id: I51b6993e30ec69d63a031c7bf404ea3887e14d84
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Eike Ziller
2021-03-05 12:28:41 +01:00
parent 69afdcd290
commit 30da5aafd7
5 changed files with 10 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
add_qtc_plugin(CtfVisualizer
CONDITION TARGET Tracing
DEPENDS Tracing Qt5::QuickWidgets
INCLUDES ${PROJECT_SOURCE_DIR}/src
PLUGIN_DEPENDS Core Debugger ProjectExplorer