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. MNG and animated SVG
Forum Updated to NodeBB v4.3 + New Features

MNG and animated SVG

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 2.7k Views 1 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.
  • B Offline
    B Offline
    billouparis
    wrote on last edited by
    #1

    Hello,

    I would like to be able to play an MNG and an animated SVG in QML. Is this possible today?
    I tried something like:

    @import QtQuick 1.0

    Rectangle {
    x: 0
    y: 0
    width: 800
    height: 480
    color: "black"

    Image {
       x:100
        y:100
        source: "../../../../../Resources/mng/bouncing_ball.mng"
    }
    

    @

    It does display one image, but not the embedded animation.
    Is this possible at all, and is this also possible with an animated SVG file?
    Regards

    Bill

    1 Reply Last reply
    0
    • B Offline
      B Offline
      billouparis
      wrote on last edited by
      #2

      found out the QML AnimatedImage element. This allowed me to display some mng, even if all features are not always supported. Still need to sest the animated svg...
      Ongoing!

      Bill

      1 Reply Last reply
      0

      • Login

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