-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
I'm trying to figure out how I can use OpenGL to draw parts of my UI that is otherwise a Qt Quick app using this library. An example in the examples/ dir would be amazing, and I can help contribute one once I understand how to to make one.
Will I be able to achieve this using only Rust + QML? Or will C++ be needed? What I have found/read so far:
- https://doc.qt.io/qt-6/qtquick-scenegraph-openglunderqml-example.html - Official Qt6 docs on integrating OpenGL under QML. Lots of C++
- https://github.com/KDABLabs/cxx-qt-servo-webview - Your own example how to render a servo OpenGL webview in a QML app. Not very straight forward how to simplify that to a plain OpenGL context that I draw to from Rust
- https://github.com/lujing-jlu/opengl-cxx-qt-app - "OpenGL Point Cloud Viewer - CXX-Qt App". Not actually using OpenGL directly from what I can see. But is rather utilizing the Qt
Canvas
item with some Javascript.
Metadata
Metadata
Assignees
Labels
No labels