Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.9.1, 5.9.2
-
None
-
OS: Windows 10 Pro x64
RAM: 8GB
Qt: 5.9.1/5.9.2 Opensource Shared
MSVC2017 v.15.4.0
Windows 10 SDK (10.0.15063.0)
ActivePerl 5.24.2.2403 MSWin32 x86-64int 403863
Python 2.7.14
Ruby 1.9.3-p551
depot_tools
Ninja
win_flex_bison-2.5.5
OpenSSL 1.0.2j Static (x86_64) from source OpenSSL FIPS 2.0.13
During compilation: LAN is disabled, AntiVirus Kaspersky is terminated, SearchIndexer is terminated, SSDP is terminated, every other useless task like Firefox, nVidia stuff, etc. is also terminatedOS: Windows 10 Pro x64 RAM: 8GB Qt: 5.9.1/5.9.2 Opensource Shared MSVC2017 v.15.4.0 Windows 10 SDK (10.0.15063.0) ActivePerl 5.24.2.2403 MSWin32 x86-64int 403863 Python 2.7.14 Ruby 1.9.3-p551 depot_tools Ninja win_flex_bison-2.5.5 OpenSSL 1.0.2j Static (x86_64) from source OpenSSL FIPS 2.0.13 During compilation: LAN is disabled, AntiVirus Kaspersky is terminated, SearchIndexer is terminated, SSDP is terminated, every other useless task like Firefox, nVidia stuff, etc. is also terminated
-
94fc71997ca8fb94fb1cba6f36eb9a24b6da4464
Description
Hi there,
I'm trying to compile Qt5.9.2 with MSVC2017 from source and it won't compile QtWebEngine.
Every other component like QtCore, QtWidgets, QtQuick etc. compiles without any error.
The error QtWebEngine throws is the following:
link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.9 /MANIFEST:embed /OUT:..\..\lib\Qt5WebEngineCasd.dll @C:\Users\MIKE~1.KNA\AppData\Local\Temp\nmF02C.tmp Library "..\..\lib\Qt5WebEngineCasd.lib" and object "..\..\lib\Qt5WebEngineCasd.exp" was created. qtwebengineglobal.obj : error LNK2019: Reference to unresolved external symbol ""void __cdecl QtWebEngineCore::initialize(void)" (?initialize@QtWebEngineCore@@YAXXZ)" in function ""void __cdecl QtWebEngine::initialize(void)" (?initialize@QtWebEngine@@YAXXZ)". ..\..\lib\Qt5WebEngineCasd.dll : fatal error LNK1120: 1 unresolved externals
See the above environment and the attached archive for more details like path variable, makefile, config.log, etc. and if you need further details just ask.
Anyway what is wrong and how do I solve this problem?
Kind regards,
Mike
EDIT 11/10/2017
I've gone backwards from 5.9.2.
5.9.1 has the same problem and it doesn't matter if I'm using nmake/jom and/or debug/release.
5.9.0 is free of this bug and it creates the dependend Qt5WebEngine(d).dll and Qt5WebEngineWidgets(d).dll successfully.
Another nice to know fact: I'm using the qt everywhere opensource archives from the qt archive: https://download.qt.io/archive/qt/5.9/
EDIT 12/10/2017
I forgot to mention that I've tried at first to compile 5.9.2 and 5.9.1 as 32bit version, where I encountered that problem. Now I've tested to compile both as 64bit versions and the error still remains.
Attachments
Issue Links
- is duplicated by
-
QTBUG-64244 MSVC: 'unresolved external symbol "void __cdecl QtWebEngineCore::initialize(void)"' error for QtWebEngine builds on Windows
- Closed
For Gerrit Dashboard: QTBUG-63701 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
208660,2 | Revert "Use MSVC's /WHOLEARCHIVE linker flag" | 5.9 | qt/qtwebengine | Status: MERGED | +2 | 0 |