For best Mac OS X integration, it is recommended to add the
CFBundleShortVersionString key in the Info.plist and I would like to
use qmake to set its value.
In qt-mac-opensource-src-4.5.0-rc1/qmake/generators/unix/unixmake2.cpp:711
happens the @SHORT_VERSION@ substitution.
Unfortunately, this is in the else branch of the
(project->first("TEMPLATE") == "app") condition. Is there a particular
reason why the @SHORT_VERSION@ substitution is not performed for an
app template ?

Also, the *short* of CFBundleShortVersionString has not the same
meaning as in @short_vers...@. CFBundle***Short***VersionString means
only version number, name of application not included.
@***SHORT***_VERSION@ means VER_MAJ.VER_MIN (no trace of VER_PAT)

When I release "MyApp 1.2", there is no problem. But when I release
"MyApp 1.2.1", the @SHORT_VERSION@ will be 1.2 :-(

Would you mind adding a @LONG_VERSION@ substitution on both app and
non-app templates that takes the value of the VERSION variable defined
in the .pro ?

Best regards.
Cédric

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to