macOS: Fix requesting missing permissions

The Bluetooth key changed. Keep the old one for compatibility.
Keys for requesting access to various folders on disk were added in macOS 10.15.

Fixes: QTCREATORBUG-26666
Change-Id: Ieb5686fe129f795319132a36269bc34bc07a13a4
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Eike Ziller
2021-12-08 15:16:52 +01:00
parent 48fafae034
commit 25df6b7c07

View File

@@ -256,8 +256,22 @@
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSAppleEventsUsageDescription</key>
<string>This application wants to run AppleScript.</string>
<key>NSDesktopFolderUsageDescription</key>
<string>This application wants to access the Desktop folder.</string>
<key>NSDocumentsFolderUsageDescription</key>
<string>This application wants to access the Documents folder.</string>
<key>NSDownloadsFolderUsageDescription</key>
<string>This application wants to access the Downloads folder.</string>
<key>NSNetworkVolumesUsageDescription</key>
<string>This application wants to access network volumes.</string>
<key>NSRemovableVolumesUsageDescription</key>
<string>This application wants to access removable volumes.</string>
<key>NSFileProviderDomainUsageDescription</key>
<string>This application wants to access files from a provider.</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>A user application wants to access bluetooth.</string>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>A user application wants to access bluetooth.</string>
<key>NSCalendarsUsageDescription</key>
<string>A user application wants to access calendars.</string>
<key>NSCameraUsageDescription</key>