[oe] Antwort: Re: [meta-qt5] Building and running issues on Raspberry Pi

Felix01 Fischer felix01.fischer at iav.de
Tue May 27 12:54:13 UTC 2014


First, thank you for your quick answer!
Please find my comments inline.


> Von: Diego Sueiro <diego.sueiro at gmail.com>
> An: openembedded-devel at lists.openembedded.org, 
> Datum: 27.05.2014 12:41
> Betreff: Re: [oe] [meta-qt5] Building and running issues on Raspberry Pi
> Gesendet von: openembedded-devel-bounces at lists.openembedded.org
> 
> On Tue, May 27, 2014 at 7:08 AM, Felix01 Fischer 
> <felix01.fischer at iav.de>wrote:
> 
> > It's not possible to have hardware-accelerated QT on the raspberry pi 
when
> > you are running an X11 environment, therefore I want to use eglfs
> > directly.
> >
> > The raspberry pi doesn't have a mali graphics core, AFAIK.
> >
> 
> You are right. You should have to use userland package to get GLESv2:
> http://git.yoctoproject.org/cgit.cgi/meta-raspberrypi/tree/recipes-
> graphics/userland/userland_git.bb
> 

I'm using this recipe and I think it's cooked into the image by default.
Just to be sure I will do another image with userland added via local.conf
I think if this would be missing I should get another error code, when 
trying to start a Qt Programm


> 
> >
> > Nevertheless, applying your patch gives me an error while compiling.
> >
> > "
> > [...]/qeglfshooks_stub.cpp: In member function 'virtual void*
> > QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&, const
> > QSurfaceFormat&)':
> > [...]/qeglfshooks_stub.cpp:256:38: error: variable
> > 'QEglFSHooks::createNativeWindow(QPlatformWindow*, const QSize&, const
> > QSurfaceFormat&)::mali_native_window native_window' has initializer 
but
> > incomplete type
> >      static struct mali_native_window native_window = {
> >                                       ^
> > [...]/qeglfshooks_stub.cpp:261:1: warning: control reaches end of 
non-void
> > function [-Wreturn-type]
> >  }
> >  ^
> > make[4]: *** [.obj/qeglfshooks_stub.o] Error 1
> > "
> >
> > Any suggestions?
> >
> 
> This patch just works for mali accelerated hardware.
> 

I'm just desperate to get it working, I had no hope it would ;-)



> 
> Regards,
> 
> --
> *dS
> Diego Sueiro
> 
> Administrador do Embarcados
> www.embarcados.com.br<http://www.embarcados.com.br/?
> utm_source=assinatura_diego&utm_medium=e-
> mail&utm_campaign=Assinatura%20Email%20Diego>
> 
> /*long live rock 'n roll*/
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list