Compiling the system with qtwebengine

hello everyone, i cant compile when i add the qtwebengine…

help me.

[image]

Qt_UTILS= "
qtwebview
qtwebsockets
qtwebkit
qtwebengine
qtvirtualkeyboard
qttools
qtsystems
qtsensors
qtserialport
qtquickcontrols
qtquickcontrols2
qtlocation
qtimageformats
qtdeclarative
qtbase
"

error (45.7 KB)

The secret to happiness in life is never use Qt for anything.

Judging from your error message alone

| In file included from /usr/include/c++/7/list:60:0,
|                  from ../../../../git/src/3rdparty/chromium/v8/src/torque/cfg.h:8,
|                  from ./../../../../git/src/3rdparty/chromium/v8/src/torque/cfg.cc:5,
|                  from v8_snapshot/gen/v8/torque_base_jumbo_1.cc:5:
| /usr/include/c++/7/bits/stl_algobase.h:59:10: fatal error: bits/c++config.h: No such file or directory
|  #include <bits/c++config.h>
|           ^~~~~~~~~~~~~~~~~~
| compilation terminated.

The Google chromium libraries have 32-bit components

OR

the default recipe assumes a 32-bit target and you need to tweak the recipe to force 64-bit build.

I realize the links I provided aren’t for embedded building but they identify what the problem is.

https://chromium.googlesource.com/chromium/src/+/49.0.2623.110/docs/linux_build_instructions_prerequisites.md

Hope this helps

Hi @AlanM ,

How exactly are you building this image? Which BSP version are you trying to build?

Can you please try to follow this article and build the tdx-reference-multimedia-image? This image already builds the QtWebEngine by default.

Best regards,
Daniel Morais

thanks, but not run. :frowning:

hello this is my information:

Build Configuration:
BB_VERSION = “1.46.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “universal”
TARGET_SYS = “arm-tdx-linux-gnueabi”
MACHINE = “apalis-tk1”
DISTRO = “tdx-xwayland”
DISTRO_VERSION = “5.7.0-devel-20220915203844+build.0”
TUNE_FEATURES = “arm armv7a vfp thumb neon callconvention-hard”
TARGET_FPU = “hard”
meta-toradex-nxp = “HEAD:ee63c90fde9fde0229bff9ac1c5cffe356fc4f41”
meta-freescale = “HEAD:3cb29cff92568ea835ef070490f185349d712837”
meta-freescale-3rdparty = “HEAD:c52f64973cd4043a5e8be1c7e29bb9690eb4c3e5”
meta-toradex-tegra = “HEAD:f5753af4a5b9d33f0f474b320a74c2e29a66ec39”
meta-toradex-bsp-common = “HEAD:029a663150449a5e71b84dd4000476754d525c8c”
meta-oe
meta-filesystems
meta-gnome
meta-xfce
meta-initramfs
meta-networking
meta-multimedia
meta-python = “HEAD:8ff12bfffcf0840d5518788a53d88d708ad3aae0”
meta-freescale-distro = “HEAD:5d882cdf079b3bde0bd9869ce3ca3db411acbf3b”
meta-toradex-demos = “HEAD:ce3c1925df34b4d299b2dd1003ced41b9485ce41”
meta-qt5 = “HEAD:5ef3a0ffd3324937252790266e2b2e64d33ef34f”
meta-toradex-distro = “HEAD:cbde0286cb85bc445e70210b8df38f29b4784c08”
meta-poky = “HEAD:7e0063a8546250c4c5b9454cfa89fff451a280ee”
meta = “HEAD:add860e1a69f848097bbc511137a62d5746e5019”
meta-python2 = “dunfell:b901080cf57d9a7f5476ab4d96e56c30db8170a8”
meta-mono = “dunfell:517c45026dedfcfc7d8ac16e3f56b895942092ce”
meta-qt4 = “master:6d501ee2b4c5e2042823c09b1de5f08054132b43”
meta-java = “dunfell:3af889e112ddb5c677990535b1e0209c08f68e3f”

Hi @AlanM ,

Sorry, I didn’t understand what went wrong, following the steps here, did you have the same error as before while executing bitbake tdx-reference-multimedia-image?

Best regards,
Daniel Morais

hello i execute :frowning:
bitbake -k tdx-reference-multimedia-image

Hi @AlanM,

I made a small test on my side, and following the steps here I was able to build the tdx-reference-multimedia for Apalis TK1.

Can you please try again and check if you face the same issues? If yes, can you try to execute bitbake qtwebengine -c cleanall and build again?

Best regards,
Daniel Morais