Skip to content

Port away from deprecated QGLWidget & Qt5 OpenGL module

Friedrich W. H. Kossebau requested to merge work/kossebau/portopenglwidget into master

Keeping the spirit of the original commit adding this experimental feature in 04844e46.

Not that I could see on my old X220 any change in the FPS log output when toggling the feature...

QGraphicsView also in Qt6 support using openGL for rendering when the viewport is a QOpenGLWidget, see https://doc.qt.io/qt-6/qgraphicsview.html#details:

To render using OpenGL, simply call setViewport(new QOpenGLWidget).

Merge request reports