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

Priyanshu Sharma ms.priyanshu.sharma at gmail.com
Mon Apr 1 00:30:47 PDT 2019


The compilation of features.egl was failing because wayland-client.h was
not found in Yocto 2.5 sysroot of QTbase. In yocto 2.2, the sysroot was
common so qtbase was able to find this header even without dependencies.
Adding DEPENDS=wayland in qtbase recipe is compiling qtbase and qtwayland
successfully.

The bitbake did not throw error for missing driver. It just printed it in
logs.

Warm Regards,
Priyanshu Sharma

On Wed, Mar 27, 2019 at 4:20 PM Priyanshu Sharma <
ms.priyanshu.sharma at gmail.com> wrote:

> 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/20190401/0dd876d1/attachment-0001.html>


More information about the yocto mailing list