Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unable to build QWebEngine with _ITERATOR_DEBUG_LEVEL=0
Forum Updated to NodeBB v4.3 + New Features

Unable to build QWebEngine with _ITERATOR_DEBUG_LEVEL=0

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hardcoder
    wrote on last edited by
    #1

    Hi,

    as the title says: I am unable to build QWebEngine with - D_ITERATOR_DEBUG_LEVEL=0 with Visual Studio 2013 Update 4. I use this to configure:

    d:\devel\qt-5.4.0>configure -opensource -opengl desktop -nomake tests -D _HAS_IT
    ERATOR_DEBUGGING=0 -D _SECURE_SCL=0

    and after most of this Qt building is done, it fails with:

    [...]

    "D:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.gyp_run.Release all
    D:\devel\qt-5.4.0\qtwebengine\src\3rdparty\ninja\ninja.exe -C D:/devel/qt-5.4.0/qtwebengine/src/core/Release
    ninja: Entering directory `D:/devel/qt-5.4.0/qtwebengine/src/core/Release'
    [1/6] CXX d:\devel\qt-5.4.0\qtwebengine\src\3rdparty\chromium\chrome\browser\media\chrome_qt.desktop_streams_registry.obj
    [2/6] CXX d:\devel\qt-5.4.0\qtwebengine\src\3rdparty\chromium\chrome\common\chrome_qt.localized_error.obj
    [3/6] CXX d:\devel\qt-5.4.0\qtwebengine\src\3rdparty\chromium\chrome\common\net\chrome_qt.net_error_info.obj
    [4/6] LIB obj\src\core\chrome_qt.lib
    [5/6] STAMP obj\src\core\QtWebEngineCore.actions_depends.stamp
    [6/6] STAMP obj\src\core\qtwebengine.actions_depends.stamp
    ( if not exist Makefile.core_module D:\devel\qt-5.4.0\qtbase\bin\qmake D:\devel\qt-5.4.0\qtwebengine\src\core\core_module.pro -o Makefile.core_module ) && "D:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.core_module
    "D:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" -f Makefile.core_module.Debug all
    link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /MACHINE:X86 /LIBPATH:"C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x86" /DELAYLOAD:dbghelp.dll /DELAYLOAD:dwmapi.dll /DELAYLOAD:shell32.dll /DELAYLOAD:uxtheme.dll /DELAYLOAD:powrprof.dll /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll /DELAYLOAD:mfreadwrite.dll /DELAYLOAD:d3d9.dll /DELAYLOAD:dxva2.dll /DELAYLOAD:ffmpegsumo.dll /DELAYLOAD:dinput8.dll /DELAYLOAD:user32.dll /PDB:QtWebEngineCore.dll.pdb /safeseh /dynamicbase /ignore:4199 /ignore:4221 /nxcompat /largeaddressaware /SUBSYSTEM:WINDOWS,5.01 /INCREMENTAL:NO /FIXED:NO /DYNAMICBASE:NO wininet.lib dnsapi.lib version.lib msimg32.lib ws2_32.lib usp10.lib psapi.lib dbghelp.lib winmm.lib shlwapi.lib powrprof.lib advapi32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib user32.lib uuid.lib odbc32.lib odbccp32.lib delayimp.lib credui.lib netapi32.lib /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.40 /MANIFEST:embed /OUT:D:\devel\qt-5.4.0\qtbase\lib\Qt5WebEngineCored.dll @C:\Users\Bravo\AppData\Local\Temp\nm9ED5.tmp
    gfx_geometry.lib(gfx_geometry.rect.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in QtWebEngineCore.access_token_store_qt.obj
    gfx_geometry.lib(gfx_geometry.size_f.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in QtWebEngineCore.access_token_store_qt.obj
    gfx_geometry.lib(gfx_geometry.size_conversions.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in QtWebEngineCore.access_token_store_qt.obj
    gfx_geometry.lib(gfx_geometry.point.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in QtWebEngineCore.access_token_store_qt.obj

    and MUCH more of those.

    It looks like my configure defines are not passed along to depended lib (chromium I believe), and they got build with default (2) iterator debug level, which causes link errors.

    How do I fix that?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved