Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.7, 6.2.1
-
None
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.