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...
For Gerrit Dashboard: PYSIDE-2468 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
530714,15 | Desktop Deployment: link permission libraries for macOS | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
534624,10 | Examples: adapt to consider permission API on macOS | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
536759,22 | Deployment: add permission support and create macOS bundle application | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
542003,1 | Desktop Deployment: link permission libraries for macOS | 6.6 | pyside/pyside-setup | Status: ABANDONED | 0 | 0 |
543169,1 | Examples: adapt to consider permission API on macOS | 6.6 | pyside/pyside-setup | Status: ABANDONED | +2 | 0 |
543892,8 | PySide6 Permission API: Add considerations | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
544643,2 | PySide6 Permission API: Add considerations | 6.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |