Firefly开源社区

标题: Linux 如何移植支持xcb和webengine的QT 5.15.2 [打印本页]

作者: HupeSun    时间: 2021-6-28 18:01
标题: Linux 如何移植支持xcb和webengine的QT 5.15.2
想要往Ubuntu系统上移植指定版本的QT,在QT官网下载源码后configure如下:
  1. #~/bin/bash
  2. ./configure \
  3.         -v \
  4.         -sysroot /home/matinal/workstation/rk-source/rk3399-linux/other/ubuntu/binary \
  5.         -extprefix /opt/Qt5.15.2-armhf  \
  6.         -hostprefix /opt/Qt5.15.2-armhf-host \
  7.         -xplatform linux-arm-gnueabihf-g++ \
  8.         -opensource \
  9.         -confirm-license \
  10.         -shared \
  11.         -pkg-config \
  12.         -strip \
  13.         -xcb-xlib \
  14.         -xcb \
  15.         -make libs \
  16.         -make tools \
  17.         -widgets \
  18.         -no-opengl \
  19.         -skip qtlocation \
  20.         -nomake examples
复制代码

配置会报错:

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

  2. Note: The following modules are not being compiled in this configuration:
  3.     3dcore
  4.     3drender
  5.     webenginecore
  6.     webengine
  7.     webenginewidgets
  8.     pdf
  9.     pdfwidgets

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

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

  12. WARNING: QtWebEngine will not be built.

  13. WARNING: QtPdf will not be built.

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

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

  16. 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
安装了所有提到的依赖,求问是什么问题导致的这个报错。。。
作者: wangapei    时间: 2021-8-5 16:34
这个论坛没有技术支持么




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1