Linux 如何移植支持xcb和webengine的QT 5.15.2

想要往Ubuntu系统上移植指定版本的QT,在QT官网下载源码后configure如下:

#~/bin/bash
./configure \
        -v \
        -sysroot /home/matinal/workstation/rk-source/rk3399-linux/other/ubuntu/binary \
        -extprefix /opt/Qt5.15.2-armhf  \
        -hostprefix /opt/Qt5.15.2-armhf-host \
        -xplatform linux-arm-gnueabihf-g++ \
        -opensource \
        -confirm-license \
        -shared \
        -pkg-config \
        -strip \
        -xcb-xlib \
        -xcb \
        -make libs \
        -make tools \
        -widgets \
        -no-opengl \
        -skip qtlocation \
        -nomake examples

配置会报错:

Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.

Note: The following modules are not being compiled in this configuration:
    3dcore
    3drender
    webenginecore
    webengine
    webenginewidgets
    pdf
    pdfwidgets

WARNING: A pkg-config support is required to build QtWebEngine.

WARNING: A pkg-config support is required to build QtPdf.

WARNING: QtWebEngine will not be built.

WARNING: QtPdf will not be built.

ERROR: Feature 'pkg-config' was enabled, but the pre-condition 'tests.pkg-config' failed.

ERROR: Feature 'xcb' was enabled, but the pre-condition 'features.thread && libs.xcb && tests.xcb_syslibs && features.xkbcommon-x11' failed.

ERROR: Feature 'xcb-xlib' was enabled, but the pre-condition 'features.xlib && libs.xcb_xlib' failed.

已经按照> https://wiki.qt.io/Building_Qt_5_from_Git
安装了所有提到的依赖,求问是什么问题导致的这个报错。。。

这个论坛没有技术支持么