Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28089

Cannot debug C++ with qtcreator in MacOS because of OpenGL not found in Frameworks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 8.0.1
    • Debugger
    • None
    • MacBook Pro (Retina, 15-inch, Late 2013) A1398

      MacOs BigSur 11.6.8
    • macOS

    Description

      When trying to debug this error is found.

      ```
      dyld: Symbol not found: _CGLGetCurrentContext
      Referenced from: /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
      Expected in: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
      in /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo

      ```

      When I look at content at /System/Library/Frameworks/OpenGL.framework/Versions/A/, no OpenGL folder is found.

      ```
      ls -lh /System/Library/Frameworks/OpenGL.framework/Versions/A/
      total 0
      drwxr-xr-x 12 root wheel 384B Jan 1 2020 Libraries
      drwxr-xr-x 13 root wheel 416B Jan 1 2020 Resources
      drwxr-xr-x 3 root wheel 96B Jan 1 2020 _CodeSignature

      ```
      It has probably related with OpenGL obsolescence in MacOs. But it should not be mandatory to hage OpenGL instaled for debugging with QtCreator. Is there a workaround?

      Attachments

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

        Activity

          People

            madwinter Marcus Tillmanns
            ken4rab Alejandro Baranek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes