qt5base-lts/qmake/generators/win32
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
..
cesdkhandler.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
cesdkhandler.h Update copyright headers 2015-02-11 06:49:51 +00:00
mingw_make.cpp centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
mingw_make.h fix quoting issues. all of them. (*) 2015-02-17 18:27:29 +00:00
msbuild_objectmodel.cpp add DISTFILES support for Visual Studio projects 2015-03-27 13:38:15 +00:00
msbuild_objectmodel.h Merge remote-tracking branch 'origin/5.4' into 5.5 2015-02-24 21:02:08 +01:00
msvc_nmake.cpp Fix qmake generating bizarre msvc /VERSION values 2015-04-08 15:47:12 +00:00
msvc_nmake.h Update copyright headers 2015-02-11 06:49:51 +00:00
msvc_objectmodel.cpp add DISTFILES support for Visual Studio projects 2015-03-27 13:38:15 +00:00
msvc_objectmodel.h add DISTFILES support for Visual Studio projects 2015-03-27 13:38:15 +00:00
msvc_vcproj.cpp Fix qmake generating bizarre msvc /VERSION values 2015-04-08 15:47:12 +00:00
msvc_vcproj.h add DISTFILES support for Visual Studio projects 2015-03-27 13:38:15 +00:00
msvc_vcxproj.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
msvc_vcxproj.h Update copyright headers 2015-02-11 06:49:51 +00:00
winmakefile.cpp centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
winmakefile.h fix quoting issues. all of them. (*) 2015-02-17 18:27:29 +00:00