Port away from deprecated QGLWidget & Qt5 OpenGL module
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).