Priority: P1: Critical
Affects Version/s: 5.12.0 Beta 1, 5.12.0 Beta 2
Fix Version/s: 5.12.0 RC
Component/s: Build tools: qmake
Environment:Windows 10, Visual Studio 2017 + VS Build Tools 2015, Qt 5.12.0 Beta msvc2015_64
Commits:4be8168ff7fe8c871a7f3cd7dce8fa4f70e1a6cf (qt/qtbase/5.12) 299734c3ee96055f72557cf8c25221bab5ce1a11 (qt/qtbase/5.12.0)
This problem appeared in Beta 1, Alpha was working fine. Running
to generate a 64-bit Visual Studio project file on a SUBDIRS Qt project results in the following error output:
As a result, the .vcxproj files for the sub-projects seem to be generated, but the .sln file is 0 bytes in size.
- The problem only occurs with the Visual Studio project generation (qmake -tp vc -r), not Makefile (qmake -r).
- It only occurs with the 64-bit Qt version (msvc2015_64), not 32-bit (msvc2015).
- It seems to occur on every single SUBDIRS project. Attached is the empty project structure that reproduces the error for me.
And here's the exact command line I use to invoke qmake that results in the error:
|For Gerrit Dashboard: QTBUG-71228|
|244597,2||Revert "Revert "qmake: Work around MSVC compiler bug.""||5.12||qt/qtbase||Status: MERGED||+2||0|
|245395,2||Revert "Revert "qmake: Work around MSVC compiler bug.""||5.12.0||qt/qtbase||Status: MERGED||+2||0|