Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Rendering a SVG image in QML



  • 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)?


Log in to reply