[Qt] QOpenGLWidget override initializeGL and paintGL
zeljko
zeljko at holobit.net
Fri May 26 09:05:36 CEST 2017
On 05/25/2017 08:28 PM, max via Qt wrote:
> How add QOpenGLWidget to qt5 bindings ?
>
> Render OpenGL need override few virtual functions: initializeGL and
> paintGL.
>
> How implement virtual functions ?
It's not big problem to add QOpenGLxx to bindings but that's something I
don't like. Qt5Pas should contain only base gui and widgets, maybe
create separate Qt5PasOpenGL and qt5opengl.pas.
I've already added QSurface, QSurfaceType and QWindow classes which can
be used for openGl
zeljko
More information about the Qt
mailing list