Important: Please read the Qt Code of Conduct -

QtWebkit link error with MinGW 64

  • My Qt5 compile terminates when ld.exe tries to link compiled objects of QtWebkit. This is what happened:

    c:/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld.exe: E:/sources/qt-everywhere-opensource-src-5.0.0/qtwebkit/Source/JavaScriptCore/debug/libJavaScriptCored.a(StructureChain.o): bad reloc address 0x0 in section `.data'
    collect2.exe: error: ld returned 1 exit status
    Makefile.api.Debug:94: recipe for target 'E:\sources\qt-everywhere-opensource-src-5.0.0\qtbase\lib\Qt5WebKitd.dll' failed
    mingw32-make[3]: *** [E:\sources\qt-everywhere-opensource-src-5.0.0\qtbase\lib\Qt5WebKitd.dll] Error 1

    And full code in "pastebin":

Log in to reply