This change is Qt4/Qt5 neutral.
Derive from QGraphicsView instead of QGLWidget to allow to add widgets as overlay over the 3d scene later on.