Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25309

plist generated by qmake does not contain expected keys

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.7.4
    • Build tools: qmake
    • None
    • Mac OSX
    • macOS

    Description

      According to Apple's Bundle Programming Guide, an .app bundle plist is expected to contain the following keys:

      CFBundleName
      CFBundleDisplayName
      CFBundleIdentifier
      CFBundleVersion
      CFBundlePackageType
      CFBundleSignature
      CFBundleExecutable

      However a qmake-generated plist only contains:

      CFBundleIdentifier
      CFBundlePackageType
      CFBundleSignature
      CFBundleExecutable

      The CFBundleVersion is particularly vital as it is the only way the OS has to identify versions for updates etc. But qmake does not create this, nor does it copy the VERSION variable to a template plist specified with QMAKE_INFO_PLIST.

      Other keys that should be generated (or picked up in the case of QMAKE_INFO_PLIST) are CFBundleShortVersionString (used by the Finder) and LSMinimumSystemVersion (could be populated by QMAKE_MACOSX_DEPLOYMENT_TARGET).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            danny77uk Daniel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes