Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is Qt support planned? #356

Open
sinosoidal opened this issue Jan 30, 2023 · 4 comments
Open

Is Qt support planned? #356

sinosoidal opened this issue Jan 30, 2023 · 4 comments

Comments

@sinosoidal
Copy link

I would love to integrate rive in my applications. It doesn't seem to be a solid and consistent way of doing with Qt. Are there any plans for that happen?

@madoodia
Copy link

madoodia commented Feb 2, 2023

I wanted to create the same Issue!

Accessing elements of .riv file with C++ API is easy, but I wonder how we should show the content as graphical widgets in our final product?

you should support the final target like Qt or we should implement our own OpenGL widget that connect to some classes in the C++ API?
or we should use skia? or what?

please let us know!

@madoodia
Copy link

madoodia commented Feb 2, 2023

For example, suppose I want to load the UI designed and animated in Rive into my Autodesk Maya tool, what exactly should I do to reach to that?
I mean how should load .riv file into my tool and connect to the elements thorough C++ API
Tip: maya uses Qt for it GUI

thanks

@luigi-rosso
Copy link
Collaborator

We don't currently offer a Qt integration. Someone from the community experienced with Qt should be able to do this by using our various other implementations (React, Flutter, iOS, Web, Android, etc libraries) as a reference.

We have a feature request channel on our Discord: https://t.co/2zmbulK02A

@jebos
Copy link

jebos commented Apr 19, 2023

I just published a QtQuick Plugin using a recent rive-cpp. (the most recent rive-cpp does not clip anymore correctly due to some fixes in rive-cpp)

The QML plugin offers support for input and output and tiggers. It will dynamically generate those as bindable properties for QML.
It also has support for mouse hit areas. It uses opengl rendering.

For now it's only Qt5 and tested in Windows. While I already added a rough QPainter Path I first looked into OpenGL Rendering, but will explore this to allow SW Rendering.

Here is my code: https://github.com/jebos/RiveQtQuickPlugin

I hope for feedback and happily take contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants