qtdeclarative/examples/quick/quickshapes
Alexandru Croitor 1e5a63f7a3 CMake: Guard examples that use Svg in a qt build without Svg
Otherwise one gets errors like the following in standalone examples
build:
  CMake Error at tools/svgtoqml/Qt6SvgToQmlMacros.cmake:65
    (add_custom_command):
  Error evaluating generator expression:
    $
    No target "Qt6::svgtoqml"

Because the examples now use the new qt_target_qml_from_svg()
function, which will try to reference a non-existent svgtoqml tool
target.

Change-Id: I16b10c4fa31bd73d0d95bbad371cde54f17c236a
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2025-09-16 09:03:29 +02:00
..
shapes Doc: Add some notes about PathText usage in Quick Shapes 2025-09-05 18:38:17 +02:00
weatherforecast Use new qt_target_qml_from_svg() function for examples 2025-08-21 12:55:54 +02:00
CMakeLists.txt CMake: Guard examples that use Svg in a qt build without Svg 2025-09-16 09:03:29 +02:00
quickshapes.pro Use new qt_target_qml_from_svg() function for examples 2025-08-21 12:55:54 +02:00