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

Unexpected warnings/errors when debugging widgets application on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • Qt Creator 11.0.0-rc1
    • Qt Creator 7.0.0-beta2, Qt Creator 11.0.0-beta2
    • Debugger
    • macOS 11.6.4 (Intel); Qt Creator 7.0.0-beta2 (6.83.0); Qt 6.2.3
    • macOS
    • c7bb5fcc3 (9.0), 456a019f2 (11.0)

    Description

      If you create a new Qt Widgets application and start debugging it on macOS, the Application Output pane will show warnings/errors before showing the actual application output. First it will show "got fallback qt version XXXX" (in red and without a new line at the end), where XXXX is a hexadecimal representation of the Qt version used to build the application. Then it will show errors related to security entitlements. Example:

       

      03:23:32: Debugging /Users/andre/Desktop/build-Test-Qt_6_2_3_for_macOS-Debug/Test.app/Contents/MacOS/Test ...
      got fallback qt version 0x602032022-03-07 03:23:40.337535-0300 Test[11795:92570] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=11795
      2022-03-07 03:23:40.337649-0300 Test[11795:92570] SecTaskCopyDebugDescription: Test[11795]/0#-1 LF=0
      03:24:09: Debugging of /Users/andre/Desktop/build-Test-Qt_6_2_3_for_macOS-Debug/Test.app/Contents/MacOS/Test has finished.

       

      If you start the application without debugging, these messages will not appear.

       

      Attachments

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

        Activity

          People

            madwinter Marcus Tillmanns
            anrocha André De La Rocha (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes