Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.12.2
-
None
Description
"CFBundleGetInfoString" is deprecated since Mac OS X 10.5. this key has been deprecated for more than 11 years now and certainly should not be included in binaries generated by an up-to-date development environment in 2019.
while this is a key that should NOT be included in the Info.plist file, there are a number of keys that are current not included but SHOULD be included. most importantly:
CFBundleVersion and CFBundleShortVersionString. all macOS apps should contain information about their version number. the CFBundleVersion is essential to let the system decide which version of an app is the newest one if multiple ones are installed. when launching an app that is present in multiple versions, the one with the highest CFBundleVersion is launched. if you omit this key, a random version is launched. the CFBundleShortVersionString key is essential to let the user know which version is installed. it is displayed in the Finder when selecting an app, in the Get Info panel and in QuickLook. Mac users expect all apps have proper version information viewable from the Finder. if this is missing, its immediately obvious this is not a real Mac app but just a cross platform hack. Qt should include these essential keys by default and make sure those are integrated well into GUI settings in QtCreator.
other important keys that are missing from the Info.plist generated by Qt/Make but are present in all apps generated by Xcode are:
CFBundleDevelopmentRegion
CFBundleInfoDictionaryVersion
CFBundleName
CFBundleSupportedPlatforms
NSHumanReadableCopyright
have a look here for more info: https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
Attachments
Issue Links
- relates to
-
QTBUG-106486 Info.plist example shows obsolete CFBundleTypeExtensions key
- Reported
-
QTBUG-75917 Explicitly add CFBundleSupportedPlatforms, MinimumOSVersion and UIDeviceFamily to the Info.plist
- Reported
- resulted in
-
QTBUG-106471 qml runtime: Info.plist doesn't agree with QML mime type
- Reported