[yocto] [Yocto][meta-qt5][qtwayland]Qtwayland recipe fails with Yocto 2.5

Priyanshu Sharma ms.priyanshu.sharma at gmail.com
Wed Mar 27 03:50:34 PDT 2019


Found that the missing features.egl is provided by QTBase recipe. And in my
case, qtbase is not compiling the feature "EGL" and thats why qtwayland
fails to find it.

egl is not included in PACKAGECONFIG of qtbase recipe. However, it used to
be enabled with Yocto 2.2.
Adding it PACKAGECONFIG[eg] of qtbase is not enabling it. How can egl be
enabled in qtbase?

Warm regards,
Priyanshu Sharma

On Tue, Mar 19, 2019 at 1:23 PM Priyanshu Sharma <
ms.priyanshu.sharma at gmail.com> wrote:

> Hi All,
>
> I'm consistently getting a build failure after upgrading Poky to 2.5 from
> 2.2 on qtwayland
> Yocto recipe from meta-qt5.
>
> The error looks like :
>
> | Running configuration tests...
> | Checking for Wayland client library... yes
> | Checking for Wayland cursor library... yes
> | Checking for wayland-scanner... yes
> | Checking for Wayland EGL library... yes
> | Checking for wayland-server... yes
> | Done running configuration tests.
> |
> | Configure summary:
> |
> | Qt Wayland Drivers:
> |   EGL .................................... no
> |   Raspberry Pi ........................... no
> |   XComposite EGL ......................... no
> |   XComposite GLX ......................... no
> |   DRM EGL ................................ no
> |   libhybris EGL .......................... no
> | Qt Wayland Client ........................ yes
> | Qt Wayland Compositor .................... yes
> |
> | ERROR: Feature 'wayland-egl' was enabled, but the pre-condition 'features.wayland-client && features.opengl && features.egl && libs.wayland-egl' failed.
> |
> | ERROR: Feature 'wayland-egl' was enabled, but the pre-condition 'features.wayland-server && features.opengl && features.egl && libs.wayland-egl' failed.
> |
> | Check config.log for details.
> | WARNING: exit code 1 from a shell command.
> I've checked that only pre-condition "features.egl" is failing.
> I've my own custom recipe which is providing virtual/egl and is set as PREFERRED_PROVIDER also.
> What is the missing dependency here when virtual/egl is provided?
> What exactly is features.egl looking for? ( virtual/egl provides egl.pc )
> I've not changed anything in meta-qt5 layer. And the version is 5.9.2 QT5. However, is fails with 5.12 also.
>
>
> Warm Regards,
>
> Priyanshu Sharma
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190327/0bfb8019/attachment.html>


More information about the yocto mailing list