问题描述
我正在尝试使用 meta-toolchain-qt5
构建 Qt,但是当我通过 poky-glibc-x86_64-meta-toolchain-qt5-cortexa7hf-vfp-vfpv4- 执行此操作时neon-toolchain-2.0.1.s h
,我在 sysroot
目录中没有看到有关 QtWebEngine 的任何内容.
我也尝试使用以下命令构建 Qt
bitbake meta-toolchain-qt5
但结果是一样的;我对 Qt WebEngine 一无所知.
如何使用 QtWebEngine 支持构建 Qt?
看meta-toolchain-qt5
,它继承了populate_sdk_qt5
,反过来又增加了packagegroup-qt5-toolchain-target
到 SDK.仔细查看packagegroup-qt5-toolchain-target
,发现包组不直接包含qtwebengine
.因此,如果 packagegroup-qt5-toolchain-target
中没有其他内容拖入 qtwebengine
作为依赖项,qtwebengine
将不会被安装.>
如果你在packagegroup-qt5-toolchain-target
的RDEPENDS_${PN}
中添加qtwebengine
,你会得到相关的qtwebengine 包.
I am trying to build Qt using meta-toolchain-qt5
, but when I do this via poky-glibc-x86_64-meta-toolchain-qt5-cortexa7hf-vfp-vfpv4-neon-toolchain-2.0.1.sh
, I don't see anything about QtWebEngine in the sysroot
directory.
I also tried to build Qt using the following command
bitbake meta-toolchain-qt5
but it is the same result; I don't have anything regarding Qt WebEngine.
How can I build Qt with QtWebEngine support?
Looking at meta-toolchain-qt5
it inherits populate_sdk_qt5
, which in turns adds packagegroup-qt5-toolchain-target
to the SDK. Taking a closer look at packagegroup-qt5-toolchain-target
, reveals that the packagegroup doesn't directly include qtwebengine
. Thus, if nothing else in packagegroup-qt5-toolchain-target
drags in qtwebengine
as a dependeny, qtwebengine
won't be installed.
If you add qtwebengine
to RDEPENDS_${PN}
in packagegroup-qt5-toolchain-target
, you'll get the relevant qtwebengine
packages in your SDK.
这篇关于如何使用元工具链-qt5 构建 Qt(支持 QtWebEngine)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!