From 270130134175bd62a1b2e34bf8c00bd24588f69b Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Wed, 26 Apr 2017 19:01:29 +0200 Subject: iOS: Add Info.plist files to indicate camera and microphone usage Since iOS 10 the Info.plist file needs to indicate that it requires the usage of the camera and microphone in any application that requests them. So this adds Info.plist files to be used by the examples in that capacity. Change-Id: I16c6607366f57f4e950e53e1de1fbc0ac224df10 Reviewed-by: Jake Petroules --- examples/shared/shared.pri | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 examples/shared/shared.pri (limited to 'examples/shared') diff --git a/examples/shared/shared.pri b/examples/shared/shared.pri new file mode 100644 index 000000000..26bdf73cf --- /dev/null +++ b/examples/shared/shared.pri @@ -0,0 +1,48 @@ +darwin { + INFOPLIST = \ + "" \ + "" \ + "" \ + "" \ + " CFBundleIconFile" \ + " " \ + " CFBundlePackageType" \ + " APPL" \ + " CFBundleGetInfoString" \ + " Created by Qt/QMake" \ + " CFBundleSignature" \ + " ????" \ + " CFBundleExecutable" \ + " $$TARGET" \ + " CFBundleIdentifier" \ + " com.digia.$${LITERAL_DOLLAR}{PRODUCT_NAME:rfc1034identifier}" \ + " CFBundleDisplayName" \ + " $${LITERAL_DOLLAR}{PRODUCT_NAME}" \ + " CFBundleName" \ + " $${LITERAL_DOLLAR}{PRODUCT_NAME}" \ + " CFBundleShortVersionString" \ + " 1.0" \ + " CFBundleVersion" \ + " 1.0" \ + " LSRequiresIPhoneOS" \ + " " \ + " UILaunchStoryboardName" \ + " LaunchScreen" \ + " UISupportedInterfaceOrientations" \ + " " \ + " UIInterfaceOrientationPortrait" \ + " UIInterfaceOrientationPortraitUpsideDown" \ + " UIInterfaceOrientationLandscapeLeft" \ + " UIInterfaceOrientationLandscapeRight" \ + " " \ + " NSCameraUsageDescription" \ + " Qt Multimedia Example" \ + " NSMicrophoneUsageDescription" \ + " Qt Multimedia Example" \ + " NOTE" \ + " This file was generated by Qt/QMake." \ + "" \ + "" + write_file($$OUT_PWD/Info.plist, INFOPLIST)|error() + QMAKE_INFO_PLIST = $$OUT_PWD/Info.plist +} -- cgit v1.2.3