Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 6.0.0
-
None
-
MacBook Pro (16-inch, 2019)
macOS 11.6.1
Xcode 12.5.1
Qt 6.2.2
-
-
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
- replaces
-
QTCREATORBUG-26710 Running/debugging apps which use Bluetooth are not possible on macOS 12
- Closed
For Gerrit Dashboard: QTCREATORBUG-26666 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
385288,2 | macOS: Fix requesting missing permissions | 6.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |