Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-53240

Unable to build debug QtWebEngine on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.7.0 RC
    • 5.7.0 Beta, 5.7
    • WebEngine
    • None
    • Windows 7 SP1 64bit
      MSVC 2013 (12.0) 32bit
    • 827c1c15a242f1b104e905700de11053f9752e1a

    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

          For Gerrit Dashboard: QTBUG-53240
          # Subject Branch Project Status CR V

          Activity

            People

              jbornema Joerg Bornemann
              pvarga Peter Varga
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes