How to build Qt (with QtWebEngine support) using meta-toolchain-qt5?

邮差的信 提交于 2019-12-22 08:01:53

问题


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.s‌​‌​h, 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?


回答1:


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.



来源:https://stackoverflow.com/questions/36318491/how-to-build-qt-with-qtwebengine-support-using-meta-toolchain-qt5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!