From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A5AB1E0095C; Fri, 10 Apr 2015 06:44:33 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mx1.basyskom.com (groupware.basyskom.com [144.76.148.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E9BF1E008CF for ; Fri, 10 Apr 2015 06:44:26 -0700 (PDT) X-Footer: YmFzeXNrb20uY29t Received: from [193.158.222.106] ([193.158.222.106]) by mx1.basyskom.com (Kerio Connect 8.4.2) for otavio@ossystems.com.br; Fri, 10 Apr 2015 15:44:21 +0200 Date: Fri, 10 Apr 2015 15:44:21 +0200 X-Mailer: Kerio Connect 8.4.2/Kerio Connect client X-User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:37.0) Gecko/20100101 Firefox/37.0 Message-ID: <2742210308-28340@mx1.basyskom.com> X-Priority: 3 Importance: Normal In-Reply-To: MIME-Version: 1.0 From: Benjamin Federau To: Otavio Salvador Cc: "meta-freescale@yoctoproject.org" Subject: Re: Problem compiling QtWayland X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 13:44:33 -0000 Content-Type: multipart/alternative; boundary="=-gPfEFKyksHIvzLacEyk3" --=-gPfEFKyksHIvzLacEyk3 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Otavio Salvador , 10.04.2015 14:49: On Fri, Apr 10, 2015 at 4:53 AM, Benjamin Federau=20 wrote:=20 > Otavio Salvador , 09.04.2015 19:46:=20 >=20 > On Thu, Apr 9, 2015 at 2:08 PM, Benjamin Federau=20 > wrote:=20 >> Ruben Morgade , 13.10.2014 13:14:=20 > ...=20 >> I have this error with Qt 5.4.1 (meta-qt5 layer master branch with Yocto= =20 >> dizzy) right now.=20 >>=20 >> Could you solve this build issue?=20 > ...=20 >=20 > We had some projects using Wayland and it worked fine. What issue you=20 > are having?=20 >=20 >=20 > The build of qtwayland stops with=20 >=20 > qtwayland/5.4.1-r0/qtwayland-opensource-src-5.4.1/src/hardwareintegration= /client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp:142= :67:=20 > error: cannot convert 'Display* {aka _XDisplay*}' to 'EGLNativeDisplayTyp= e=20 > {aka _FBDisplay*}' for argument '1' to 'void*=20 > eglGetDisplay(EGLNativeDisplayType)'=20 > =C2=A0 =C2=A0 =C2=A0integration->mEglDisplay =3D eglGetDisplay(integratio= n->mDisplay);=20 >=20 > and some more errors as you can see here=20 > http://pastebin.com/EbXsdiyF=20 =20 Seems like your DISTRO_FEATURES setting is wrong.=20 This came also to my mind. I have added to my local.conf DISTRO_FEATURES_remove =3D "x11" because otherwise the libwayland package from gpu-viv-bin-mx6q won't be bui= ld. Further I thought using the recipes-graphics/images/core-image-weston.bb as= a base for my image (recipt in my own layer) which sets REQUIRED_DISTRO_FEATURES =3D "wayland" is enough to enable wayland and it components (especially qtbase and qtwayl= and). Do I have to set DISTRO_FEATURES +=3D " wayland" explicitly in my .bb image= file or do I miss something else? Here you can find my image .bb file content: http://pastebin.com/DUSzEi6L=20 - Benjamin Federau = --=-gPfEFKyksHIvzLacEyk3 Content-Type: text/html; charset="utf-8" Otavio Salvador <otavio@ossystems.com.br> , 10.04.2015 14:49:
On Fri, Apr 10, 2015 at 4:53 AM, Benjamin Federau
<benjamin.federau@basyskom.com> wrote:
> Otavio Salvador <otavio@ossystems.com.br> , 09.04.2015 19:46:
>
> On Thu, Apr 9, 2015 at 2:08 PM, Benjamin Federau
> <benjamin.federau@basyskom.com> wrote:
>> Ruben Morgade <rmorgade@arantia.com> , 13.10.2014 13:14:
> ...
>> I have this error with Qt 5.4.1 (meta-qt5 layer master branch with Yocto
>> dizzy) right now.
>>
>> Could you solve this build issue?
> ...
>
> We had some projects using Wayland and it worked fine. What issue you
> are having?
>
>
> The build of qtwayland stops with
>
> qtwayland/5.4.1-r0/qtwayland-opensource-src-5.4.1/src/hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.cpp:142:67:
> error: cannot convert 'Display* {aka _XDisplay*}' to 'EGLNativeDisplayType
> {aka _FBDisplay*}' for argument '1' to 'void*
> eglGetDisplay(EGLNativeDisplayType)'
>      integration->mEglDisplay = eglGetDisplay(integration->mDisplay);
>
> and some more errors as you can see here
> http://pastebin.com/EbXsdiyF

Seems like your DISTRO_FEATURES setting is wrong.


This came also to my mind. I have added to my local.conf

DISTRO_FEATURES_remove = "x11"

because otherwise the libwayland package from gpu-viv-bin-mx6q won't be build.

Further I thought using the recipes-graphics/images/core-image-weston.bb as a base for my image (recipt in my own layer) which sets

REQUIRED_DISTRO_FEATURES = "wayland"

is enough to enable wayland and it components (especially qtbase and qtwayland).

Do I have to set DISTRO_FEATURES += " wayland" explicitly in my .bb image file or do I miss something else?

Here you can find my image .bb file content:
http://pastebin.com/DUSzEi6L

-
Benjamin Federau
--=-gPfEFKyksHIvzLacEyk3--