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

Qt Creator 6 Cannot Run Applications That Use Bluetooth On macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 6.0.0
    • Fix Version/s: Qt Creator 6.0.1
    • Component/s: All Other Issues
    • Labels:
      None
    • Environment:
      MacBook Pro (16-inch, 2019)
      macOS 11.6.1
      Xcode 12.5.1
      Qt 6.2.2
    • Platform/s:
      macOS
    • Commits:
      25df6b7c073f4ed3e69e6036f192c96d0dde44a7 (qt-creator/qt-creator/6.0)

      Description

      When running an application that uses bluetooth as soon as macOS tries to determine if you have authorized the application it will crash due to a TCC_CRASHING_DUE_TO_PRIVACY_VIOLATION.

      You can demonstrate the issue by running any of the bluetooth examples such as the Low Energy Scanner which will crash as soon as you click the "Search" button.

      The application will run correctly if you directly run the app bundle or change the run settings to enable the "Run in terminal" option.

      You can also compile and run that example within Qt Creator 5 on the exact same Qt 6.2.2 environment without issue.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              con Eike Ziller
              Reporter:
              chipolux NaKyle Wright
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes