-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
None
-
018b10ff7 (dev), 35f6faf56 (dev), a91848f63 (dev), 4f47407a5 (dev)
We have CMake API to run qsb and Balsam at build time.
It would be nice to have something similar ("qt6_add_vector_images()"?) to run svgtoqml at build time to convert *.svg files (plus future formats supported by VectorImage) to QML code. The auto-generated QML files could be added to the specified QML module, so anything that imports that QML module can instantiate the auto-generated QML types directly.
For Gerrit Dashboard: QTBUG-128915 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
667506,15 | qt_target_qml_from_svg() command in cmake | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
667536,17 | Use new qt_target_qml_from_svg() function for examples | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
670690,5 | cmake: Add qt_target_qml_from_lottie() function | dev | qt/qtlottie | Status: MERGED | +2 | 0 |
670691,6 | Update example to use new qt_target_qml_from_lottie() function | dev | qt/qtlottie | Status: MERGED | +2 | 0 |