[meta-qt5] OpenGL runtime error with linuxfb platform
juba last edited by
I am trying to run a Qt5 application on at91sam9x35 atmel board with Yocto (poky dora).
On this environment I am able to run Qt4 application using the embedded version of qt4 provided by atmel.
I suppose that the embedded mode use linuxfb platform.
Now I want to build and run applications written in Qt5 on the same board, so I try the meta-qt5 layer.
I build the library adding the linuxfb option into the qtbase recipe variable PACKAGECONFIG.
My simple test application use qml, I built and deploy it successfully, but when I try to launch it with
@# <appname> -platform linuxfb@
I get the following error:
@This plugin does not support createPlatformOpenGLContext!@
And then the application crash.
In my code there aren't any refer to OpenGL and the hardware doesn't support OpenGL or OpenGL ES.
I haven't any idea about this error...
Has anyone else used the QT5 in this way?
Thanks in advance,
mmckenzie last edited by
I'm about 99% sure that QtQuick2 requires OpenGL ES as it uses a scenegraph and such - maybe someone else could back me up on this. If your hardware doesn't support it then you probably wont be able to use QtQuick2...
You could try using QtQuick1 which I believe does not require opengl, or stick with widgets.... try this just to see if it works at all: