Qt 6.11 is out! See what's new in the release
blog
Rendering a SVG image in QML
General and Desktop
2
Posts
2
Posters
1.4k
Views
1
Watching
-
Hello!
I'm trying to render a SVG image in a QML scene, but an error is shown in the console (QML Image: Invalid image data: file:///image.svg).
I'm using Qt 5.2 and CMAKE, and I guess I have to build any add-on that is not build by default, but I don't know how to do it. Any ideas?
Thanks!
-
maybe you need built svg plugin (inside plugins/imageformats)?