Details
Description
related to https://codereview.qt-project.org/c/pyside/pyside-setup/+/502839
macOS is tricky though because when you try to requestPermission it gives you an error message saying to add the necessary flags __ to the Info.plist of the application. This is also evident from the release post: .https://www.qt.io/blog/permission-apis-in-qt-6.5
On Apple platforms each permission you request must be accompanied by a so called usage description string in the application's Info.plist file. For example:
<key>NSMicrophoneUsageDescription</key>
<string>The microphone is used to record voice memos.</string>
for Python, this means manually modifying the Info.plist file of the Python interpreter since in our case the application is the Python interpreter itself.
A possible hack similar to https://codereview.qt-project.org/c/pyside/pyside-setup/+/497613 should be investigated.
Attachments
Issue Links
- is blocked by
-
PYSIDE-2474 Scanning for BLE devices reports also classic bluetooch devices on MacOs
- Closed
- relates to
-
PYSIDE-2474 Scanning for BLE devices reports also classic bluetooch devices on MacOs
- Closed
- mentioned in
-
Page Loading...