Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946

Qt5Webkit build error while trying to build Qt 5.6.3 sources



  • Hi,

    I pulled the Qt 5.5.1 QtWebkit sources and build along with Qt 5.6.3 sources after installing all dependencies for QtWebkit on Ubuntu desktop. But it throws below error:-

    g++ -Wl,-O1 -Wl,--enable-new-dtags -Wl,-rpath,/home/ubuntu/qt-everywhere-opensource-src-5.6.3/qtwebkit/lib -o LLIntOffsetsExtractor .obj/llint/LLIntOffsetsExtractor.o
    .obj/llint/LLIntOffsetsExtractor.o:(.qtversion[qt_version_tag]+0x0): undefined reference to qt_version_tag' collect2: ld returned 1 exit status make[2]: *** [LLIntOffsetsExtractor] Error 1 make[2]: Leaving directory/home/ubuntu/qt-everywhere-opensource-src-5.6.3/qtwebkit/Source/JavaScriptCore'
    make[1]: *** [sub-LLIntOffsetsExtractor-pro-make_first-ordered] Error 2
    make[1]: Leaving directory `/home/ubuntu/qt-everywhere-opensource-src-5.6.3/qtwebkit/Source/JavaScriptCore'
    make: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] Error 2

    qmake version being used is:

    QMake version 3.0
    Using Qt version 5.6.3 in /home/ubuntu/qt5.6.3/lib

    Any suggestions to fix or workaround for this error are appreciated.
    Thanks.



  • I tried adding DEFINES += QT_NO_VERSION_TAGGING in WebKit.pro but it didnot help..


Log in to reply