Cannot read GL_DEPTH_COMPONENT using QOpenGLWidget outside of paintGL() function

Printable View