[MacOS] Ask user for permission to access microphone

This is required for MacOS 10.14 and later. This also requires an explanation why
access is required in the apps Info.plist. Hence added custom Info.plist templates
for each app.
This commit is contained in:
Roland Rossgotterer
2019-05-06 16:14:24 +02:00
committed by Klaus Basan
parent 61adfefa7a
commit 5f00747d19
14 changed files with 355 additions and 30 deletions

View File

@@ -29,6 +29,9 @@ target.path = $$PREFIX/bin
INSTALLS += target
macx {
QMAKE_TARGET_BUNDLE_PREFIX = "org.swift-project"
QMAKE_INFO_PLIST = Info.plist
# Modifies plugin path
qtconf.path = $$PREFIX/bin/swiftdata.app/Contents/Resources
qtconf.files = qt.conf