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

MSVC: 'unresolved external symbol "void __cdecl QtWebEngineCore::initialize(void)"' error for QtWebEngine builds on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.11
    • WebEngine
    • None
    •  * Windows 10 x64,
        * MSVC 2017 15.4.1,
        * Windows SDK 10.0.16299.15,
        * Qt-5.11-dev (037335f4bfb8a41cc744f308f5442092f2b0ca3b).

    Description

      Hello everyone,

       

      For builds using MSVC got error:

              cd webengine\ && ( if not exist Makefile C:\libQT-5.11-dev\build\qtbase\bin\qmake.exe -o Makefile C:\libQT-5.11-dev\build\qtwebengine\src\webengine\webengine.pro ) && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe" -f Makefile
      
      Microsoft (R) Program Maintenance Utility Version 14.11.25547.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
              "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe" -f Makefile.Release
      
      Microsoft (R) Program Maintenance Utility Version 14.11.25547.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
              link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL /SUBSYSTEM:WINDOWS /VERSION:5.11 /MANIFEST:embed /OUT:..\..\lib\Qt5WebEngine.dll @C:\Users\test\AppData\Local\Temp\nmFF87.tmp
         Creating library ..\..\lib\Qt5WebEngine.lib and object ..\..\lib\Qt5WebEngine.exp
      qtwebengineglobal.obj : error LNK2019: unresolved external symbol "void __cdecl QtWebEngineCore::initialize(void)" (?initialize@QtWebEngineCore@@YAXXZ) referenced in function "void __cdecl QtWebEngine::initialize(void)" (?initialize@QtWebEngine@@YAXXZ)
      ..\..\lib\Qt5WebEngine.dll : fatal error LNK1120: 1 unresolved externals
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\link.EXE"' : return code '0x460'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      

      which is the next blocker, after QTBUG-63713 was fixed.

       

      Reproduced for:
        - QtWebEngine-dev (ba63729ed9a39e122475ac8860cee27fc235241b).

       

      Best,

      Alexander

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jbornema Joerg Bornemann
              sav sav
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes