Using a QMainWindow with the central widget as a QOpenGLWidget