From dd0156d1facc5422464dc1b430696a0b63db605f Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 30 Jan 2019 14:46:16 +0100 Subject: macOS 10.14: Allow user applications to request access to services MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In macOS Mojave applications have to provide information about the reason they want to access certain services (Camera, Microphone, etc). If they do not provide this information in their Info.plist, they possibly are even killed by the system. For direct child processes, like user applications are when started from Qt Creator, this information is taken from the parent application, i.e. Qt Creator, even if the child process provides the information in it's own Info.plist. Fixes: QTCREATORBUG-21887 Change-Id: I1bc149fea928a26d59d126f6b1be71649a4369ed Reviewed-by: Morten Johan Sørvig Reviewed-by: Leena Miettinen Reviewed-by: Vikas Pachdha --- src/app/app-Info.plist | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/app/app-Info.plist b/src/app/app-Info.plist index 91104f163d..d87130d5e4 100644 --- a/src/app/app-Info.plist +++ b/src/app/app-Info.plist @@ -254,5 +254,23 @@ @SHORT_VERSION@ LSMinimumSystemVersion @MACOSX_DEPLOYMENT_TARGET@ - - + NSAppleEventsUsageDescription + This application wants to run AppleScript. + NSBluetoothPeripheralUsageDescription + A user application wants to access bluetooth. + NSCalendarsUsageDescription + A user application wants to access calendars. + NSCameraUsageDescription + A user application wants to access the camera. + NSContactsUsageDescription + A user application wants to access contacts. + NSLocationWhenInUseUsageDescription + A user application wants to access location information. + NSMicrophoneUsageDescription + A user application wants to access the microphone. + NSPhotoLibraryAddUsageDescription + A user application wants write access to the photo library. + NSPhotoLibraryUsageDescription + A user application wants to access the photo library. + NSRemindersUsageDescription + A user application wants to access the reminders. -- cgit v1.2.1