[Interest] Is it possible to build Qt with PDBs but not QtWebEngine

Stefan Böhmann devel at hilefoks.org
Wed Sep 2 21:33:23 CEST 2020


Hi,

we build Qt 5.12.9 (as a whole, not the modules individually) once in release and once in debug mode. But our debug build fails.

> 16:16:24  jom: parallel job execution disabled for Makefile.core_module
> 16:16:24  	jom.exe -f Makefile.core_module.Debug
> 16:16:24  	rc /NOLOGO -D_DEBUG -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_WEBENGINECORE_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_WEBENGINECOREHEADERS_LIB -D_WINDLL -fo .obj\debug\Qt5WebEngineCored_resource.res Qt5WebEngineCored_resource.rc
> 16:16:24  linking ..\..\lib\Qt5WebEngineCored.dll 
> 16:20:16  LINK : fatal error LNK1102: out of memory


This is a VS2019 build on a 16 core machine with 32GB RAM. I monitored the build and it consumed almost 50 GB memory (so including swap) before it failed.
It worked some time ago, but in the meantime there was a VS2019 update and we also activated IncrediBuild. Probably one of them caused this error. 

Anyway. We do not need the PDBs for QtWebEngine.

My question is therefore whether there is a way to build Qt as a whole with PDBs while turning off PDB generation for QtWebEngine? 
If not, can anyone give me a hint where to look to patch it myself?
Or has anyone some other idea/solution?


Best regards, 
Stefan


More information about the Interest mailing list