OpenGL under QML. Multiple qml items with opengl content
Unsolved
QML and Qt Quick
-
Hi, I’m trying to combine two qt examples.
-
Scene Graph - OpenGL Under QML
https://doc.qt.io/qt-5/qtquick-scenegraph-openglunderqml-example.html -
Cube OpenGL ES 2.0 example
https://doc.qt.io/qt-5/qtopengl-cube-example.html
I want to replace opengl code from first example and use opengl code from second example. The goal is to draw cube in custom qml item, and then draw multiple cubes. Then each cube item with own mouse area will be controlled separately.
Is this possible?
For me is easier to manipulate with qml content instead of using opengl picking objects.how can i solve this problem?
-