[Interest] QtWebengine is not built with v8 snapshot error
Allan Sandfeld Jensen
kde at carewolf.com
Sun May 3 08:43:10 CEST 2020
On Sonntag, 3. Mai 2020 06:20:22 CEST Ramakanth Kesireddy wrote:
> ,Hi,
>
> As am trying to cross-compile Qt 5.12.8 sources on Ubuntu 16.04(64 bit), it
> throws below error:
>
> V8 snapshot cannot be built. Most likely, the 32-bit host compiler does not
> work. Please make sure you have 32-bit devel environment installed, or
> configure webengine with '-no-webengine-v8-snapshot'
> QtWebEngine will not be built.
>
Just install the x86-32bit compiler and tools. We need a host compiler that
matches the target for building the snapshot. Note in 5.15 we can no longer
disable snapshots, and so it is no longer optional (though 5.12 should still
work)
> Even configuring with -no-webengine-v8-snapshot doesnot builds QtWebengine
> module.
>
> Configure line:
>
> ./configure -v -opensource -confirm-license -make libs -release -shared
> -sysroot
> /home/ubuntu/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/linux-devkit/s
> ysroots/armv7ahf-neon-linux-gnueabi -no-gcc-sysroot -device
> arm-linux-gnueabihf-g++ -device-option
> CROSS_COMPILE=/home/ubuntu/ti-processor-sdk-linux-rt-am335x-evm-05.03.00.07/
> linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-
> -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
>
> Appreciate your help in this regard to resolve Qtwebengine build error.
>
Please report the errors you see.
Best regards
Allan
More information about the Interest
mailing list