Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.15
-
None
-
MacOS Catalina
Description
Recent versions of MacOS require usage descriptions in the Info.plist for access to restricted system resources (namely in the debugger) else they are crashed by the OS:
[access] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
10:46:44: Debugging has finished
Despite adding a platform spec for this variable:
macx { QMAKE_INFO_PLIST = macos/Info.plist }
The Info.plist file is not copied to build_directory/app_name.app/Contents, where it needs to be.
Adding support for this to be copied when it is updated or when the application is built would be extremely convenient:
- Qt version updates (5.15.1 -> 5.15.2, etc)
- multiple build configurations