Commit Graph

3 Commits

Author SHA1 Message Date
Eskil Abrahamsen Blomfeldt b7a05428d4 Update svgtoqml generated examples
The svgtoqml tool has been updated, so we need to update its
generated files as well.

Pick-to: 6.10
Change-Id: Ie58653c35e99e0c1119a9bf64d803371d31261e5
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
2025-08-12 07:12:57 +02:00
Fabian Kosmale 704ce91ebd VectorImage example: Fix qmllint warnings
Use required properties where needed, and properly qualify lookups. Use
ComponentBehavior: Bound so that the delegates can safely refer to the
ids in the same file.

This does not fix the unqualified warning in Heart.qml, as that file is
auto-generated, and the generator would need the fix instead.

Task-number: QTBUG-134589
Pick-to: 6.8 6.9
Change-Id: I6ef213004e0bb3e905a831749e9f0c2c5ca92518
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2025-03-17 13:08:13 +00:00
Eskil Abrahamsen Blomfeldt 252048b956 Example for VectorImage
This introduces a small example of VectorImage and other ways
to display SVG content in a Qt Quick application. Its purpose is
to document the available APIs for this and explain what their
differences are.

The heart.svg is a public domain, no-attribution image which is
also used in other examples and manual tests in Qt.

Pick-to: 6.8.0 6.8
Change-Id: I457ffc01d7ea286a157a4a5bff0571098b852cef
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2024-09-11 15:11:31 +02:00