Qt 5.9.2 WebEngine build fails with Visual Studio 2017



  • 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:

    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 /DELAYLOADowrprof.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 ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.