Tests: Fix build without ShaderTools

Change-Id: Id22a91c440ea08fdab42e864d54587836e043584
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Christian Stenger
2021-08-27 12:16:49 +02:00
parent eead213d40
commit aca5e375f4

View File

@@ -15,6 +15,10 @@ else() # < Qt 6.2
DEPENDS Tracing Qt5::QuickWidgets Qt5::Quick Utils
)
if (NOT TARGET tst_tracing_flamegraphview) # qt_add_qml_module has no DEPENDS check
return()
endif()
qt_add_qml_module(tst_tracing_flamegraphview
URI "QtCreator.TstTracingFlameGraphView"
VERSION "1.0"