forked from qt-creator/qt-creator
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:
@@ -256,8 +256,22 @@
|
|||||||
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
||||||
<key>NSAppleEventsUsageDescription</key>
|
<key>NSAppleEventsUsageDescription</key>
|
||||||
<string>This application wants to run AppleScript.</string>
|
<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>
|
<key>NSBluetoothPeripheralUsageDescription</key>
|
||||||
<string>A user application wants to access bluetooth.</string>
|
<string>A user application wants to access bluetooth.</string>
|
||||||
|
<key>NSBluetoothAlwaysUsageDescription</key>
|
||||||
|
<string>A user application wants to access bluetooth.</string>
|
||||||
<key>NSCalendarsUsageDescription</key>
|
<key>NSCalendarsUsageDescription</key>
|
||||||
<string>A user application wants to access calendars.</string>
|
<string>A user application wants to access calendars.</string>
|
||||||
<key>NSCameraUsageDescription</key>
|
<key>NSCameraUsageDescription</key>
|
||||||
|
Reference in New Issue
Block a user