Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.0 Beta 1, 5.12.0 Beta 2
-
None
-
Windows 10, Visual Studio 2017 + VS Build Tools 2015, Qt 5.12.0 Beta msvc2015_64
-
-
4be8168ff7fe8c871a7f3cd7dce8fa4f70e1a6cf (qt/qtbase/5.12) 299734c3ee96055f72557cf8c25221bab5ce1a11 (qt/qtbase/5.12.0)
Description
This problem appeared in Beta 1, Alpha was working fine. Running
qmake -tp vc -r
to generate a 64-bit Visual Studio project file on a SUBDIRS Qt project results in the following error output:
ASSERT: "&other != this" in file c:\users\qt\work\qt\qtbase\include\qtcore\../../src/corelib/tools/qstring.h, line 958
As a result, the .vcxproj files for the sub-projects seem to be generated, but the .sln file is 0 bytes in size.
Related observations:
- 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:
call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" amd64 && C:\Qt\5.12.0\msvc2015_64\bin\qmake.exe -tp vc -r