qtdeclarative/examples
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
..
core/permissions CMake: Fix examples built as external projects 2025-01-31 17:11:34 +01:00
platforms Docs: Update existing and add missing links to online Java docs 2025-09-08 11:30:05 +00:00
qml Doc: Remove irrelevant images from Qt QML docs 2025-05-26 17:05:21 +02:00
qmlcompiler/tutorials/helloworld examples: Consistently require Qt 6.8 2024-07-03 08:43:43 +02:00
quick CMake: Guard examples that use Svg in a qt build without Svg 2025-09-16 09:03:29 +02:00
quickcontrols Gallery example: Brush up the .cpp file 2025-09-11 20:00:47 +02:00
CMakeLists.txt Add example showcasing Embedding QML to native Android Java project 2024-04-10 13:24:53 +03:00
README
examples.pro

README

The Qt Quick module provides the basic elements to specify and implement your
user interface declaratively, using the Qt Meta-Object Language (QML). The
Qt QML module provides the engine and language infrastructure for QML itself.
This language is very expressive and human readable, and can be used by
designers to actually implement their UI vision. QML UIs can integrate
with C++ code in many ways, including being loaded as a part of a C++ UI
and loading data models from C++ and interacting with them.

Most of these examples can be viewed directly with the
QML viewer utility, without requiring compilation.

Documentation for these examples can be found via the Examples and Tutorials
link in the main Qt documentation.