Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. What options do you have if you want vector animations that you can interact with in code with PyQt / PySide?
Forum Updated to NodeBB v4.3 + New Features

What options do you have if you want vector animations that you can interact with in code with PyQt / PySide?

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 116 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.
  • M Offline
    M Offline
    Mizmas
    wrote on last edited by
    #1

    The QSvgRenderer only works with a static .svg

    There's also a qml module Qt.labs.lottieqt, it's my first time using QML, and I couldn't get it to work:

    import QtQuick
    import Qt.labs.lottieqt
    
    
    Rectangle {
        width: 400
        height: 400
        color: "sky blue"
    
        LottieAnimation {
            loops: 10
            quality: LottieAnimation.MediumQuality
            source: "C:/Users/name/Downloads/test_lottie.json"
            autoPlay: true
        }
    }
    
    
    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