Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Would you want Rive support in Qt?
Forum Updated to NodeBB v4.3 + New Features

Would you want Rive support in Qt?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 161 Views 3 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 26 days ago last edited by
    #1

    So Rive is a fairly new tool that let's you make interactive animations, and I haven't seen it being talked about much in the Qt circles. It has a state machine which allows to create dynamic animation interactions, and it's all contained within a single .riv file.

    Rive recently released their data binding feature, and if it was possible to combine it with QML, the possibilities would be endless, so maybe if we'd make enough noise, maybe the Qt or the Rive team could create some sort of an official implementation for Qt, I've already made a suggestion on the Rive forums here, so maybe you could like it if you like the idea.

    There's already an unofficial plugin found here, but it has a lot of inconsistencies and you don't know how the final result will look like from the Rive editor and when rendered with the plugin.

    Here's an example I made with the plugin as an example of what's possible:

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote 26 days ago last edited by
      #2

      Hi,

      Rather that starting from scratch it might be simpler to check with the basysKom folks what is going wrong with their plug-in and fix things there.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply 26 days ago
      0
      • S SGaist
        26 days ago

        Hi,

        Rather that starting from scratch it might be simpler to check with the basysKom folks what is going wrong with their plug-in and fix things there.

        M Offline
        M Offline
        Mizmas
        wrote 26 days ago last edited by
        #3

        @SGaist I think the main problem is with the different rendering backends, Qt Quick chooses the rendering backend on startup depending on the system's hardware(software rendering, OpenGL, Direct3D, etc.). So the final result will be different on different systems. I've posted the issue where you can see how it looks with different rendering backends.

        And even though in that example the software rendering seems perfect, since then I've done more tests with different .riv files and using software rendering is not always the solution. Sometimes the animation is still laggy, sometimes there's missing layers, some layer properties might not be present like stroke or effects. The plugin is maintained by a small team, and doesn't get updates frequently.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SimonSchroeder
          wrote 24 days ago last edited by
          #4

          I don't know Rive and I also don't use QML (but QWidget instead). However, QML does have some animations (https://doc.qt.io/qt-6/qtquick-statesanimations-animations.html). Why would we need Rive instead? Is there anything that can't be done with QML animations?

          M 1 Reply Last reply 23 days ago
          0
          • S SimonSchroeder
            24 days ago

            I don't know Rive and I also don't use QML (but QWidget instead). However, QML does have some animations (https://doc.qt.io/qt-6/qtquick-statesanimations-animations.html). Why would we need Rive instead? Is there anything that can't be done with QML animations?

            M Offline
            M Offline
            Mizmas
            wrote 23 days ago last edited by
            #5

            @SimonSchroeder Well, I mean you can use a QPixmap to code each pixel individually to display an image, but why do that when you can just use .png :D

            1 Reply Last reply
            0

            5/5

            5 May 2025, 13:56

            • Login

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