Important: Please read the Qt Code of Conduct -

Finding and setting supported opengl version for QOpenGLWidget

  • Hello,

    i have a ui with a QOpenGLWidget.
    On my default machine it runs as it should. However on another machine (with odler graphics card) it just shows a black screen.
    I guess because there the maximum opengl version that is supported is 3.1
    How can i determine inside Qt which version is supported on a machine and then set the QOpenGLWidget to work with that one?

  • @gde23 I would be interested in finding the solution to this. I also have issues when using QOpenGLWidget on different computers with differing supported OpenGL versions. I've tried various solutions but all of which have not worked.

Log in to reply