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如下:
#~/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
安装了所有提到的依赖,求问是什么问题导致的这个报错。。。
作者:
wangapei
时间:
2021-8-5 16:34
这个论坛没有技术支持么
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1