Hi, some time ago I wrote an example of multiple OpenGL widgets for GTK: GTK GL app with GStreamer [sourceforge.net] which had GStreamer render into a shared OpenGL context across two widgets.
I then tried the same with QT and found that a) it’s not currently possible with QT5 and b) hacks with deprecated functions behave miserably with all GPU’s.
All I am trying to do is this:
Create a UI with the Qt UI designer that has a window with 2 drawable widgets and other buttons.
Before the UI is displayed, promote the drawable widgets to OpenGL shared contexts.
The UI is displayed and then the contexts update via a timer.
I found that Qt5 just isn’t capable of this simple thing (GTK, however, has been for years) – and I’m trying to use Qt because of the other nice things it has :)
So I am wondering if Qt5 would be able do the above, or is it a dead end?
Regards.
↧