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

plist generated by qmake does not contain expected keys

XMLWordPrintable

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

      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).

        For Gerrit Dashboard: QTBUG-25309
        # Subject Branch Project Status CR V

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

              Created:
              Updated:

                There are no open Gerrit changes