Uploaded image for project: 'Coin'
  1. Coin
  2. COIN-628

QOpenGL work wrong in MacOS big sur

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 1.0
    • Other
    • None
    • macOS

    Description

      couldn't use OpenGL 3.3 via QOpenGLFunctions_3_3_core,

      even if you new a pointer of QOpenGLFunctions_3_3_core, and initialisze,

      when you use glcreateshader via QOpenGLFunctions_3_3_core, the program crashes 

      Above code is another example, which indicates Qt may only use OpenGL 2.1 in MacOS big sur, 

      which is impossible.

      QSurfaceFormat format;
      format.setVersion(3,3);
      format.setProfile(QSurfaceFormat::CoreProfile);
      QOpenGLContext::currentContext()->setFormat(format);
      will fail.After these line of code
      QOpenGLContext::currentContext()->format().version is still 2 1 which is astonishing

      QOpenGL seems not to work well in Big sur.

      QOpenGLContext::currentContext()->versionFunctions<QOpenGLFunctions_3_3_Core>() is nullptr

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            macos_bug_sur qfwieqa Wong
            macos_bug_sur qfwieqa Wong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes