[meta-freescale] [meta-fsl-arm][RFC][PATCH] qtbase: Fix xcb can't create OpenGL context error

Yen-Chin Lee coldnew.tw at gmail.com
Thu Oct 16 01:27:34 PDT 2014


Hello Neena,

Sorry, please ignore this patch.

I testing this on my company's device, which is based on wandboard with
i.MX6DL CPU.

It seems like there's some problem on my qt-build (5.3.2), since I just
test the Qt under wayland before and try to switch to X11.

after

`bitbake -c cleanall qtbase; bitbake qtbase`

the problem seems gone.

Neena Busireddy writes:

> Hi Yen-Chin,
>
> That was not the bug. I just included a special case for sololite ( Sololite does not support 3D GPU hardware acceleration) for
> non-X11 builds. Without this patch, sololite non-x11 (frame buffer and Wayland) builds are broken. To my knowledge, we do not hook eglfs for X11 backend.
>
> Also, your patch does not include qeglfshooks_imx6.cpp for X11 backend.

  Yes, after review the code, when I build DISTRO_FEATURES with X11, it
  would not include qeglfshooks_imx6.cpp. So this is not bug.

>
> However, could you please let me know the steps to reproduce the error and the machine you are trying to build?
>
> Thanks,
> Neena Busireddy
>
> -----Original Message-----
> From: otavio.salvador at gmail.com [mailto:otavio.salvador at gmail.com] On Behalf Of Otavio Salvador
> Sent: Wednesday, October 15, 2014 1:50 PM
> To: Yen-Chin Lee; Busireddy Neena-B45787
> Cc: meta-freescale at yoctoproject.org
> Subject: Re: [meta-freescale] [meta-fsl-arm][RFC][PATCH] qtbase: Fix xcb can't create OpenGL context error
>
> Hello Yen-Chin,
>
> On Wed, Oct 15, 2014 at 12:47 PM, Yen-Chin Lee <coldnew.tw at gmail.com> wrote:
>> Make qtbase include qeglfshooks_imx6.cpp when build with X11, without
>> this the xcb platform would compliant that no GLX nor EGL are enabled.
>>
>> This bug was introduced in commit 55399e0.
>>
>> Signed-off-by: Yen-Chin Lee <coldnew.tw at gmail.com>
>
> I am adding Neena, who did the commit which broke it, in Cc so she can comment, test and send feedback about the patch.

--
Sent with my mu4e


More information about the meta-freescale mailing list