[oe] [meta-qt5] Building and running issues on Raspberry Pi
Diego Sueiro
diego.sueiro at gmail.com
Tue May 27 10:40:02 UTC 2014
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
>
> 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.
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*/
More information about the Openembedded-devel
mailing list