Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.9.0, 5.9
-
None
-
Windows 10, Visual Studio 2017
-
a23568be6c6859b3a149cfadb1104da4f32318f5
Description
Had a lot of troubles with building Qt 5.9 with MSVC 2017. Traced it down to -silent parameter of configure.bat, here's what I get in qtbase\Makefile.debug when -silent is enabled:
28.06.2017 22:03:52 .obj\debug\adler32.obj 28.06.2017 22:03:52 .obj\debug\compress.obj 28.06.2017 22:03:52 .obj\debug\crc32.obj 28.06.2017 22:03:52 .obj\debug\deflate.obj 28.06.2017 22:03:52 .obj\debug\gzclose.obj 28.06.2017 22:03:52 .obj\debug\gzlib.obj *28.06.2017 22:02:08 .pch\debug\Qt5Cored_pch.obj echo compiling < && cl -c -Yc -Fp.pch\debug\Qt5Cored_pch.pch -Fo.pch\debug\Qt5Cored_pch.obj -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zi -MDd -utf-8 -EHsc -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 /Fd.obj\debug\Qt5Cored.vc.pdb -DUNICODE -DWIN32 -DWIN64 -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DPCRE2_CODE_UNIT_WIDTH=16 -DPCRE2_STATIC -D_WINDLL -IC:\Qt\5.9.0\64\qtbase\src\corelib -IC:\Qt\5.9.0\64\qtbase\src\corelib -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\zlib -IC:\Qt\5.9.0\64\qtbase\src\corelib\global -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\harfbuzz\src -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\md5 -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\md4 -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\sha3 -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\double-conversion\include -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\double-conversion\include\double-conversion -IC:\Qt\5.9.0\64\qtbase\include -IC:\Qt\5.9.0\64\qtbase\include\QtCore -IC:\Qt\5.9.0\64\qtbase\include -IC:\Qt\5.9.0\64\qtbase\include\QtCore -IC:\Qt\5.9.0\64\qtbase\include\QtCore\5.9.0 -IC:\Qt\5.9.0\64\qtbase\include\QtCore\5.9.0\QtCore -IC:\Qt\5.9.0\64\qtbase\include\QtCore\5.9.0 -IC:\Qt\5.9.0\64\qtbase\include\QtCore\5.9.0\QtCore -Itmp -IC:\Qt\5.9.0\64\qtbase\src\corelib\.moc\debug -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\pcre2\src -IC:\Qt\5.9.0\64\qtbase\mkspecs\win32-msvc -TP C:\Qt\5.9.0\64\qtbase\src\corelib\global\qt_pch.h *28.06.2017 22:02:08 .obj\debug\gzread.obj echo compiling C:\Qt\5.9.0\64\qtbase\src\3rdparty\zlib\gzread.c C:\Qt\5.9.0\64\qtbase\src\3rdparty\zlib\gzwrite.c C:\Qt\5.9.0\64\qtbase\src\3rdparty\zlib\infback.c C:\Qt\5.9.0\64\qtbase\src\3rdparty\zlib\inffast.c C:\Qt\5.9.0\64\qtbase\src\3rdparty\zlib\inflate.c C:\Qt\5.9.0\64\qtbase\src\3rdparty\zlib\inftrees.c C:\Qt\5.9.0\64\qtbase\src\3rdparty\zlib\trees.c C:\Qt\5.9.0\64\qtbase\src\3rdparty\zlib\uncompr.c C:\Qt\5.9.0\64\qtbase\src\3rdparty\zlib\zutil.c && cl -c -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zi -MDd -utf-8 -W3 -w44456 -w44457 -w44458 /Fd.obj\debug\Qt5Cored.vc.pdb -DUNICODE -DWIN32 -DWIN64 -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DPCRE2_CODE_UNIT_WIDTH=16 -DPCRE2_STATIC -D_WINDLL -IC:\Qt\5.9.0\64\qtbase\src\corelib -IC:\Qt\5.9.0\64\qtbase\src\corelib -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\zlib -IC:\Qt\5.9.0\64\qtbase\src\corelib\global -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\harfbuzz\src -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\md5 -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\md4 -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\sha3 -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\double-conversion\include -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\double-conversion\include\double-conversion -IC:\Qt\5.9.0\64\qtbase\include -IC:\Qt\5.9.0\64\qtbase\include\QtCore -IC:\Qt\5.9.0\64\qtbase\include -IC:\Qt\5.9.0\64\qtbase\include\QtCore -IC:\Qt\5.9.0\64\qtbase\include\QtCore\5.9.0 -IC:\Qt\5.9.0\64\qtbase\include\QtCore\5.9.0\QtCore -IC:\Qt\5.9.0\64\qtbase\include\QtCore\5.9.0 -IC:\Qt\5.9.0\64\qtbase\include\QtCore\5.9.0\QtCore -Itmp -IC:\Qt\5.9.0\64\qtbase\src\corelib\.moc\debug -IC:\Qt\5.9.0\64\qtbase\src\3rdparty\pcre2\src -IC:\Qt\5.9.0\64\qtbase\mkspecs\win32-msvc -Fo.obj\debug\ @C:\Users\Vitaly\AppData\Local\Temp\gzread.obj.40144.547.jom *28.06.2017 22:02:08 .obj\debug\gzwrite.obj *28.06.2017 22:02:08 .obj\debug\infback.obj *28.06.2017 22:02:08 .obj\debug\inffast.obj *28.06.2017 22:02:08 .obj\debug\inflate.obj *28.06.2017 22:02:08 .obj\debug\inftrees.obj *28.06.2017 22:02:08 .obj\debug\trees.obj *28.06.2017 22:02:08 .obj\debug\uncompr.obj *28.06.2017 22:02:08 .obj\debug\zutil.obj
The first "echo compiling" seems missing the file list, while the second one has the files. As a result, I got this:
c:\Qt\5.9.0\64\qtbase\src\corelib>..\..\..\jom.exe /J 1 /f Makefile.Debug
jom 1.1.2 - empower your cores
&& was unexpected at this time.
jom: C:\Qt\5.9.0\64\qtbase\src\corelib\Makefile.Debug [.pch\debug\Qt5Cored_pch.obj] Error 1
c:\Qt\5.9.0\64\qtbase\src\corelib>
Removing -silent fixes the issue.