diff options
author | Miguel Costa <miguel.costa@qt.io> | 2018-01-08 16:15:59 +0100 |
---|---|---|
committer | Miguel Costa <miguel.costa@qt.io> | 2018-01-09 13:32:28 +0000 |
commit | a417a54d8336e4b61b1f19b9f41d759810df6a6a (patch) | |
tree | 924bac1193b0e2014dd071f4c99b3927484a013a /vstools.pro | |
parent | 28955625a024d212758ca992c250ecf8f18462f3 (diff) |
Check Qt target platform using DLL PE header
The function is64Bit() now looks into the PE header of Qt5Core.dll to
check if the target platform is 64 or 32 bit. Previously this relied on
the platform information of qmake.exe (obtained with GetBinaryType())
and so did not work for cross builds of Qt. This limitation was also
preventing the import of .pro files using a WinRT build of Qt.
Change-Id: Ib1af84c948d8bceb639601d3353482b3c92504fb
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'vstools.pro')
0 files changed, 0 insertions, 0 deletions