qt5base-lts/qmake/doc
M. Moellney fa1b2dc4a0 Fix qmake generating bizarre msvc /VERSION values
The msvc_nmake and msvc_vcproj generators deduced the exe/dll header
version number from the VERSION variable in a "bizarre" way:
VERSION=1.2.3.4567 was converted to /VERSION:1.234567.
But a minor number beyond 65535 is not accepted by the linker.
This fix deduces the major and minor from the major and minor of
VERSION: VERSION=1.2.3.4567 leads to /VERSION:1.2.

In addition, a new variable is introduced: VERSION_PE_HEADER.
With this variable, legacy pro files that rely on the bizarre
behavior can re-create it:
VERSION=1.2.3.45 and VERSION_PE_HEADER=1.2345 lead to the old
result: /VERSION:1.2345 by just taking the VERSION_PE_HEADER to
overrule the new behavior.

Task-number: QTBUG-44823
Change-Id: Ie093ade83290c098fe2b2a429ce5d6ed6dc750ea
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-04-08 15:47:12 +00:00
..
images Doc: Fixed qmake manual's images and snippets directories. 2013-08-13 01:38:54 +02:00
snippets Fix qmake generating bizarre msvc /VERSION values 2015-04-08 15:47:12 +00:00
src Fix qmake generating bizarre msvc /VERSION values 2015-04-08 15:47:12 +00:00
qmake.qdocconf Doc: add navigation info to qmake Manual 2014-12-01 20:04:00 +01:00