aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/vectorimage
Commit message (Collapse)AuthorAgeFilesLines
* android: Fix compilation of weatherforecast and vectorimage examplesEskil Abrahamsen Blomfeldt12 days1-1/+1
| | | | | | | | | | For some reason, the QuickTools package is not implicitly included when building for Android like it is on desktop platforms. Pick-to: 6.11 Fixes: QTBUG-142665 Change-Id: Icdc5afab85ed6061f47e976d5189879b5d47c083 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* Use new qt_target_qml_from_svg() function for examplesEskil Abrahamsen Blomfeldt2025-08-214-60/+17
| | | | | | | | | | | | | | | | This updates weatherforecast and vectorimage examples to use the automatic svgtoqml build steps instead of manual conversion. Removes .pro file for weatherforecast. This is a new example after the move to CMake and it should have never had a .pro file to begin with. We aren't going to implement the svgtoqml build step with qmake, so we can't keep this working. Task-number: QTBUG-128915 Change-Id: I2e2506316d4fc8fb35c227309f50e0c92f2a0e38 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
* Update svgtoqml generated examplesEskil Abrahamsen Blomfeldt2025-08-121-2/+18
| | | | | | | | | | 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>
* VectorImage example: Fix qmllint warningsFabian Kosmale2025-03-171-2/+5
| | | | | | | | | | | | | | | 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>
* Example for VectorImageEskil Abrahamsen Blomfeldt2024-09-118-0/+386
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>