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

Proper version string/build version naming in iOS/macOS Info.plist

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.7, 6.2.1
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Platform/s:
      iOS/tvOS/watchOS, macOS

      Description

      From my point of view the ${QMAKE_FULL_VERSION} and ${QMAKE_SHORT_VERSION} (https://doc.qt.io/qt-5/qmake-variable-reference.html#qmake-info-plist) are not really suitable for the iOS/macOS version numbering.

      A better way would be:
      ${QMAKE_SHORT_VERSION} should expand to the "Version" in xCode, i.e. "1.0.0"
      ${QMAKE_BUILD_VERSION} should expand to the "Build" in xCode, i.e. 1, 2, 3, etc.

      Both variables should be user-definable in the *.pro file, very much like the ANDROID_VERSION_CODE and ANDROID_VERSION_NAME.

        Attachments

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

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            Harald Meyer Harald Meyer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes