Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Animated SVG in QML
Qt 6.11 is out! See what's new in the release blog

Animated SVG in QML

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 1.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jars121
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    2

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved