Firefly开源社区

打印 上一主题 下一主题

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

32

积分

0

威望

0

贡献

技术小白

积分
32

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

发表于 2021-6-28 18:01:08      浏览:5723 | 回复:1        打印      只看该作者   [复制链接] 楼主
想要往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
安装了所有提到的依赖,求问是什么问题导致的这个报错。。。
回复

使用道具 举报

119

积分

0

威望

0

贡献

技术小白

积分
119
发表于 2021-8-5 16:34:44        只看该作者  沙发
这个论坛没有技术支持么
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表