PDA

View Full Version : Qt 5.9.2 WebEngine build fails with Visual Studio 2017



gvanvoor
9th November 2017, 12:12
I downloaded the Qt 5.9.2 sources and started building (Windows 8.1, Visual Studio 2017, 64-bit) and discovered that the build fails.
Qt was configured with the following options:


-opensource -debug-and-release -opengl desktop -nomake examples -nomake tests -confirm-license -skip qtdoc -qtnamespace %QT_NAMESPACE%

with %QT_NAMESPACE% a script generated namespace of the form ABC_5_9_2

First thing I had to do was add this patch: https://codereview.qt-project.org/#/c/208660/

After a long wait I was then greeted with this link error:


"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bi n\HostX64\x64\jom.exe" -f Makefile.core_module.Debug all
link /NOLOGO /DYNAMICBASE /NXCOMPAT @C:/Qt-5.9.2-Build/qtwebengine/src/core/Debug_x64/Qt5WebEngineCored.rsp /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /DEBUG /MACHINE:X64 /FIXED:NO /ignore:4199 /ignore:4221 /NXCOMPAT /fastfail /DYNAMICBASE:NO /time /verbose:incr /INCREMENTAL:NO /SUBSYSTEM:CONSOLE,5.02 /DELAYLOAD:cfgmgr32.dll /DELAYLOAD:powrprof.dll /DELAYLOAD:setupapi.dll /DELAYLOAD:BluetoothApis.dll /DELAYLOAD:Bthprops.cpl /DELAYLOAD:setupapi.dll /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll /DELAYLOAD:mfreadwrite.dll /OPT:REF QMAKE_LFLAGS += /OPT:REF @C:/Qt-5.9.2-Build/qtwebengine/src/core/api/Debug_x64\qtwebenginecoreapid.lib /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.9 /MANIFEST:embed /OUT:..\..\lib\Qt5WebEngineCored.dll @C:\Users\GREGOR~1\AppData\Local\Temp\Qt5WebEngine Cored.dll.7248.0.jom
LINK : fatal error LNK1117: syntax error in option ''


Does anyone have an idea how to fix this ?