4

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?

IAmInPLS
  • 4,051
  • 4
  • 24
  • 57
overlord
  • 489
  • 1
  • 7
  • 20
  • This question was [discussed on meta](http://meta.stackoverflow.com/q/327235/211627). For future reference, when the question is the same, you should update your existing post rather than creating new ones. – JDB Jul 01 '16 at 14:20

1 Answers1

6

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.

Anders
  • 8,541
  • 1
  • 27
  • 34
  • Anders, I added QtWebengine-dev and qtwebengine-mkspecs. It still return "unknown modules: qtwebengine". This has bugs me for a while now. Do you know what's wrong? – Charles C. Mar 31 '16 at 06:58
  • 1
    Thank you very much.It's work.But I receive following warning when I run qtwebengine app in embedded linux: "Qt WebEngine ICU data not found at /usr/share/qt5/resources. Trying parent directory... Qt WebEngine ICU data not found at /usr/share/qt5. Trying application directory... Qt WebEngine ICU data not found at /home/root. Trying fallback directory... The application MAY NOT work." Do you have any idea about this problem? – overlord Mar 31 '16 at 11:30
  • It works for me, with the variscite Yocto recipe. I thank you twice : for the solution, and the way to find it, that can be reuse for solving other problem that kind. – Selso Liberado Apr 29 '21 at 12:09