offer possibility to e.g. create an opengl debug context
most interesting settings are only available for QOpenGLContext
so we create a QOpenGLContext first and derive a QGLContext from it