aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2021-12-08 15:16:52 +0100
committerEike Ziller <eike.ziller@qt.io>2021-12-09 08:32:25 +0000
commit25df6b7c073f4ed3e69e6036f192c96d0dde44a7 (patch)
tree82afcd8fd411f475106fb3e671f0871bec1ea3bf
parent48fafae034bb571fb9445061fa62b1b7050eedd3 (diff)
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>
-rw-r--r--src/app/app-Info.plist14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/app/app-Info.plist b/src/app/app-Info.plist
index 95863741ac..eba0ea7a61 100644
--- a/src/app/app-Info.plist
+++ b/src/app/app-Info.plist
@@ -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>