[Qt] QOpenGLWidget override initializeGL and paintGL

zeljko zeljko at holobit.net
Sat May 27 17:21:32 CEST 2017

On 05/26/2017 09:43 PM, max wrote:
>> Really don't know :) Never played with OpenGL. Try to instantiate
>> QApplication, create QWindow and via it's QSurfaceType set to OpenGL
>> .. and see what happens :)
>> zeljko
> For OpenGL  we need "QOpenGLContext" only ;)

Of course, but I'm not planning to add it to Qt5Pas bindings in any 
case. It can be created as standalone Qt5OpenGLPas lib and 
qt5opengl.pas, so used only at demand.


More information about the Qt mailing list