Qml QtDesktop and a custom GLWidget.
I've been messing around with the new desktop qml bindings and I have a particular case that I want inquire about.
I have a class that extends GLWidget, will I have to write bindings for this?
Also Is there bindings for a GLWidget done already?
Not sure what it is you are asking, the two things are completely different and have little to do with each other.
What is it that you want to achieve?
Yes these are unrelated. But what you probably need can be found under the scenegraph examples in qtdeclarative. Try looking at "openglunderqml"
As I asked you said to me via email. I'm going to define the question properly.
I have a whole game engine that just needs a render context to draw to so I need to get the render context of a small area in a qml window but I believe its only possible to get the rendering context of the whole window.
This is where my problem lies.
I'll do some more digging into the openglunderqml sample and see if I can get anything to work
I have successfully created a project that merges both but the open gl is not being displayed to the window?
EDIT: I think it has something to do with QTDesktop redrawing over our window