Important: Please read the Qt Code of Conduct -

Animated SVG in QML

  • Hi,

    I'm trying to use an animated SVG file in my QML, but haven't had any luck thus far. I've read through the various documents, and attempted AnimatedImage, AnimatedSprite, etc. implementations, which work nicely for GIFs, but don't seem to be compatible with animated SVGs.

    How should I be approaching this? Do I need to use QSvgRenderer in c++ and update a property in QML to play it? If so, what do I need to have in QML?

Log in to reply