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

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 6.0.1
    • Qt Creator 6.0.0
    • All Other Issues
    • None
    • MacBook Pro (16-inch, 2019)
      macOS 11.6.1
      Xcode 12.5.1
      Qt 6.2.2
    • macOS
    • 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

          For Gerrit Dashboard: QTCREATORBUG-26666
          # Subject Branch Project Status CR V

          Activity

            People

              con Eike Ziller
              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