Details
Description
Building release works. Building debug QtWebengine results the following linker error:
cd process\ && ( if not exist Makefile D:\dev\Qt\qt5-57-debug\qtbase\bin\qmake D:\dev\Qt\qt5-57-src\qtwebengine\src\process\process.pro -o Makefile ) && c:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile c:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug all c:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release all link /NOLOGO /DYNAMICBASE /NXCOMPAT /LARGEADDRESSAWARE /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:D:\dev\Qt\qt5-57-debug\qtbase\bin\QtWebEngineProcess.exe @C:\Users\stampho\AppData\Local\Temp\QtWebEngineProcess.exe.240184.63.jom LINK : fatal error LNK1181: cannot open input file 'D:\dev\Qt\qt5-57-debug\qtbase\lib\qtmain.lib' jom: D:\dev\Qt\qt5-57-debug\qtwebengine\src\process\Makefile.Release [D:\dev\Qt\qt5-57-debug\qtbase\bin\QtWebEngineProcess.exe] Error 1181 jom: D:\dev\Qt\qt5-57-debug\qtwebengine\src\process\Makefile [release-all] Error 2 jom: D:\dev\Qt\qt5-57-debug\qtwebengine\src\Makefile [sub-process-make_first] Error 2 cd webengine\ && ( if not exist Makefile D:\dev\Qt\qt5-57-debug\qtbase\bin\qmake D:\dev\Qt\qt5-57-src\qtwebengine\src\webengine\webengine.pro -o Makefile ) && c:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile c:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug jom: D:\dev\Qt\qt5-57-debug\qtwebengine\Makefile [sub-src-make_first] Error 2
The D:\dev\Qt\qt5-57-debug\qtbase\lib\qtmain.lib file does exist at the given location.
I'm able to reproduce this on two different PCs. The Qt is configured as follows:
D:\dev\Qt\qt5-57-src\configure.bat ^ -developer-build ^ -debug ^ -nomake tests ^ -nomake examples ^ -opensource ^ -confirm-license ^ -mp ^ -platform win32-msvc2013 ^ -opengl desktop
Attachments
Issue Links
- resulted from
-
QTBUG-49493 QtWebEngineProcess[d].exe needs to build both debug and release with corresponding dependencies
- Closed
For Gerrit Dashboard: QTBUG-53240 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
158574,2 | Fix debug-only build on Windows | 5.7 | qt/qtwebengine | Status: MERGED | +2 | 0 |