Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Can't build QtWebEngine with cmake on Ubuntu 22.04.4
Forum Updated to NodeBB v4.3 + New Features

Can't build QtWebEngine with cmake on Ubuntu 22.04.4

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 300 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KlaarKy
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved