[Qtwebengine] QtWebengine cross-compilation host compiler packages

Michal Klocek michal.klocek at qt.io
Mon May 4 11:17:56 CEST 2020


I do not think we check for any specific libs for 32-bit compiler when building v8 snapshot during 64bit cross build, therefore we do not have a list or required libs. Please open bug report and specify qt version and compile error.

Please note you can always disable build of v8 snapshot with -no-feature-nowebengine-v8-snapshot-support


From: QtWebEngine <qtwebengine-bounces at lists.qt-project.org> on behalf of Ramakanth Kesireddy <rama.kesi at gmail.com>
Sent: Monday, May 4, 2020 10:44 AM
To: qtwebengine at lists.qt-project.org <qtwebengine at lists.qt-project.org>
Subject: [Qtwebengine] QtWebengine cross-compilation host compiler packages


In the https://wiki.qt.io/QtWebEngine/How_to_Try, it mentions  in case you have the 64-bit Linux host, you need to install an adidtional 32-bit multilib packages (at least: linux-libc-dev:i386, linux-headers-xxx:i386).

Am trying to cross-compile QtWebengine on 64 bit Ubuntu 16.04 host. Though I installed multi lib package and the above mentioned packages, it seems like I didnot install the necessary files to compile 32 bit for cross-compilation as it needs the host compiler that matches the target for building the v8 snapshot and it throws errors while cross-compilation.

Here is the configure line:

/configure -v -opensource -confirm-license -make libs -release -shared -sysroot /home/target/ti-processor-sdk-linux-rt-am335x-evm- -no-gcc-sysroot -device arm-linux-gnueabihf-g++ -device-option CROSS_COMPILE=/home/target/ti-processor-sdk-linux-rt-am335x-evm- -reduce-exports -optimize-size -no-gtk -force-pkg-config -no-use-gold-linker -qt-libjpeg -qt-zlib -qt-libpng -sql-sqlite -no-xcb -no-cups -no-opengl -no-qml-debug -skip qt3d -skip qtactiveqt -skip qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtimageformats -skip qtnetworkauth -skip qtlocation -skip qtmacextras -skip qtpurchasing -skip qtmultimedia -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscript -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qttools -skip qtwayland -skip qtwebsockets -skip qtwebview -skip qtwebchannel -skip qtwinextras -skip qtandroidextras -skip qtx11extras -skip qtxmlpatterns -nomake tools -nomake tests -nomake examples -no-compile-examples -no-iconv -dbus -fontconfig -system-freetype -ssl -qt-pcre -no-pch -recheck-all -DQT_ARCH_ARM

Could you please let me know the packages to be installed for preparing the 32 bit Ubuntu host compiler or anything am missing though sysroot is set?

Best Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20200504/a32e8c5d/attachment.html>

More information about the QtWebEngine mailing list