Can't build QtWebEngine with cmake on Ubuntu 22.04.4
Unsolved
QtWebEngine
-
Hello,
I'm trying to follow this tutorial: Cross-Compile Qt 6 for Raspberry Pi.
I've managed to install all the Qt 6 dependencies (some of them were missing int the tutorial) with this command:
apt-get install bison cmake flex freeglut3-dev gcc git gperf libatspi2.0-dev libclang-dev libcups2-dev libdrm-dev libfontconfig1-dev libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev libnss3-dev libxcb1-dev libxcb-glx0-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-render-util0-dev libxcb-randr0-dev libxcb-shm0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-xkb-dev libxcb-util-dev libxcursor-dev libxdamage-dev libxext-dev libxfixes-dev libxi-dev libxinerama-dev libxkbcommon-dev libxkbcommon-x11-dev libxkbfile-dev libxml2-utils libxrandr-dev libxrender-dev libxss-dev libxtst-dev libxshmfence-dev libx11-dev libxcomposite-dev make ninja-build nodejs npm pkg-config python3 python3-html5lib
But when I try to compile with cmake, I get this error message:
[1/4] Check QtWebEngine support QtWebEngine will not be built: Could not find all necessary libraries for qpa-xcb support. X11:YES LIBDRM:YES XCOMPOSITE:YES XCURSOR:YES XRANDR:YES XI:YES XPROTO:YES XSHMFENCE:YES XTST:YES
Thus, it seems like every dependency is installed. How can I figure out what's wrong?