[Interest] QtWebkit error while building Qt5.12.7 sources

Ramakanth Kesireddy rama.kesi at gmail.com
Thu Feb 20 17:58:04 CET 2020


Unable to get away the error though I added QtWebkit(5.5.1) sources along
with Qt 5.6.3 sources and use below configure line:

./configure -prefix /home/ubuntu/qt5 -opensource -confirm-license
-qt-libjpeg -qt-zlib -qt-libpng -sql-sqlite -no-cups -no-opengl
-no-qml-debug -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip
qtcanvas3d -skip qtconnectivity -skip qtdeclarative -skip qtenginio -skip
qtgraphicaleffects -skip qtlocation -skip qtmacextras -skip qtmultimedia
-skip qtquickcontrols -skip qtquickcontrols2 -skip qtscript -skip qtsensors
-skip qtserialbus -skip qtserialport -skip qtwayland -skip qtwebsockets
-skip qtwinextras -skip qtx11extras -skip qtxmlpatterns -nomake tools
-nomake tests -nomake examples -no-use-gold-linker -no-iconv -no-pulseaudio
-no-alsa -no-mtdev -dbus -fontconfig -no-libudev -no-openssl -qt-pcre -v

I installed needed dependencies of Qt Webengine,QtWebkit and libxcb as
mentioned in https://wiki.qt.io/Building_Qt_5_from_Git

The older versions of Qt had been installed in /home/ubuntu/ different
folders.
Though I remove the older versions of installed Qt, it still throws the
qt_version_tag error.

Do I need to modify any QtWebkit sources/configuration to link against the
Qt 5.6+?


On Wed, 19 Feb, 2020, 05:32 Thiago Macieira, <thiago.macieira at intel.com>
wrote:

> On Tuesday, 18 February 2020 08:31:39 PST Ramakanth Kesireddy wrote:
> > undefined reference to `qt_version_tag'
> > collect2: ld returned 1 exit status
>
> Besides the warning that you're building a very old and insecure version,
> qt_version_tag was introduced in Qt 5.6. This error usually means you've
> compiled against Qt 5.6+ headers but linked against Qt 5.5 or older.
> Remove
> the older versions of Qt from your installation.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel System Software Products
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200220/ff0d5502/attachment.html>


More information about the Interest mailing list