From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from db9outboundpool.messaging.microsoft.com (mail-db9lp0249.outbound.messaging.microsoft.com [213.199.154.249]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BB8D8E013D1 for ; Wed, 28 Aug 2013 05:59:56 -0700 (PDT) Received: from mail170-db9-R.bigfish.com (10.174.16.248) by DB9EHSOBE041.bigfish.com (10.174.14.104) with Microsoft SMTP Server id 14.1.225.22; Wed, 28 Aug 2013 12:59:55 +0000 Received: from mail170-db9 (localhost [127.0.0.1]) by mail170-db9-R.bigfish.com (Postfix) with ESMTP id 72D07420236; Wed, 28 Aug 2013 12:59:55 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: -4 X-BigFish: VS-4(zzbb2dI98dI9371Ic89bh1432Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hz8dhz1de098h186068h8275bh8275dh1de097hz2dh2a8h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h1765h18e1h190ch1946h19b4h19c3h1ad9h1b0ah1b2fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1f5fh1fe8h1ff5h1155h) Received: from mail170-db9 (localhost.localdomain [127.0.0.1]) by mail170-db9 (MessageSwitch) id 1377694794138291_10647; Wed, 28 Aug 2013 12:59:54 +0000 (UTC) Received: from DB9EHSMHS031.bigfish.com (unknown [10.174.16.254]) by mail170-db9.bigfish.com (Postfix) with ESMTP id 1CC82160041; Wed, 28 Aug 2013 12:59:54 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by DB9EHSMHS031.bigfish.com (10.174.14.41) with Microsoft SMTP Server (TLS) id 14.16.227.3; Wed, 28 Aug 2013 12:59:53 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.3.146.2; Wed, 28 Aug 2013 12:59:52 +0000 Received: from [10.29.244.63] ([10.29.244.63]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id r7SCxkvX008501; Wed, 28 Aug 2013 05:59:47 -0700 Message-ID: <521DF368.4070005@freescale.com> Date: Wed, 28 Aug 2013 09:56:08 -0300 From: Daiane Angolini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Juha Vuolle References: <1377544025-31822-1-git-send-email-eric@eukrea.com> In-Reply-To: X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Cc: meta-freescale Subject: Re: [meta-fsl-arm][RFC] qtbase: add xcb support for i.MX6 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: Wed, 28 Aug 2013 12:59:58 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable On 08/28/2013 09:35 AM, Juha Vuolle wrote: > Built fine on master. Can't say if it works as there is no example > apps or qmake to build my own (and I ended up applying the patch on > 5.1.0 instead of the 5.0.2). But I did get out an image with the Qt > libs in place so I'll try tomorrow with my hand-built apps and cross > fingers for binary compatibility. The resulting libEGL.so.1 on the > sysroot/rootfs seems to be libEGL-wl.so i.e. wayland, is this OK? wayland+x11 is the default choice when using poky.conf (the default=20 distro from poky), so, if you have not changed DISTRO_FEATURES, it's the=20 expected result. If it's right, depends on your intention. > > On master-next there is some (maybe unrelated) error: > libEGL.so: undefined reference to `gcoOS_CreateDrawable' > when it is building > nitrogen6x-poky-linux-gnueabi/qt4-x11-free/4.8.5-r0/qt-everywhere-opens= ource-src-4.8.5 > > > 2013/8/26 Eric B=E9nard : >> Signed-off-by: Eric B=E9nard >> --- >> qt5-layer/recipes-qt/qt5/qtbase_5.0.2.bbappend | 24 ++++++++++++++= ++++++++-- >> 1 file changed, 22 insertions(+), 2 deletions(-) >> >> diff --git a/qt5-layer/recipes-qt/qt5/qtbase_5.0.2.bbappend b/qt5-laye= r/recipes-qt/qt5/qtbase_5.0.2.bbappend >> index 33f0e8b..5553e27 100644 >> --- a/qt5-layer/recipes-qt/qt5/qtbase_5.0.2.bbappend >> +++ b/qt5-layer/recipes-qt/qt5/qtbase_5.0.2.bbappend >> @@ -1,11 +1,14 @@ >> +@@ -2,10 +2,12 @@ >> # Copyright (C) 2013 Eric B=E9nard - Eukr=E9a Electromatique >> >> HAS_X11 =3D "${@base_contains('DISTRO_FEATURES', 'x11', 1, 0, d)}" >> >> -GL_DEPENDS_mx6 =3D "${@base_contains('DISTRO_FEATURES', 'x11', '', 'v= irtual/libgles2 virtual/egl', d)}" >> -QT_GLFLAGS_mx6 =3D "${@base_contains('DISTRO_FEATURES', 'x11', '', '-= opengl es2 -eglfs', d)}" >> +GL_DEPENDS_mx6 =3D "virtual/libgles2 virtual/egl" >> +QT_GLFLAGS_mx6 =3D "-opengl es2 -eglfs" >> QT_EXAMPLES_mx6 =3D "-make examples" >> QT_DEMOS_mx6 =3D "-make demos" >> +XCB_DEPENDS_mx6 +=3D "${@base_contains('DISTRO_FEATURES', 'x11', 'xcb= -util-wm xcb-util-image xcb-util-keysyms dbus', '', d)}" >> +QT_XCB_mx6 =3D "${@base_contains('DISTRO_FEATURES', 'x11', '-qt-xcb',= '', d)}" >> >> GL_DEPENDS_mx5 =3D "${@base_contains('DISTRO_FEATURES', 'x11', '', '= virtual/libgles2 virtual/egl', d)}" >> QT_GLFLAGS_mx5 =3D "${@base_contains('DISTRO_FEATURES', 'x11', '', '= -opengl es2 -eglfs', d)}" >> @@ -47,6 +50,23 @@ EOF >> >> # copy the hook in the mkspecs directory OE is using >> cp ${S}/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp ${S}/mks= pecs/linux-oe-g++/ >> + >> + else >> +# adapt qmake.conf to our needs >> +sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf >> +cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <> +IMX6_CFLAGS =3D -DLINUX=3D1 >> +QMAKE_LIBS_EGL +=3D -lEGL >> +QMAKE_LIBS_OPENGL_ES2 +=3D -lGLESv2 -lEGL -lGAL >> +QMAKE_LIBS_OPENVG +=3D -lOpenVG -lEGL -lGAL >> +QMAKE_CFLAGS_RELEASE +=3D \$\$IMX6_CFLAGS >> +QMAKE_CXXFLAGS_RELEASE +=3D \$\$IMX6_CFLAGS >> +QMAKE_CFLAGS_DEBUG +=3D \$\$IMX6_CFLAGS >> +QMAKE_CXXFLAGS_DEBUG +=3D \$\$IMX6_CFLAGS >> +QMAKE_CFLAGS_EGL +=3D \$\$IMX6_CFLAGS >> +load(qt_config) >> + >> +EOF >> fi >> } >> >> -- >> 1.7.10.4 >> > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale > --=20 Daiane