Skip to contentSkip to conversation

Building qt5 using Yocto+meta-ti possible for Beaglebone?

DISCUSSION DUMAZ Aymeric 1 participant 1 message Jun 10, 2014 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Sorry if this message doesn't add to the original thread, I just suscribbed to the ML.

Quoted 31 lines

2014-06-10 02:35, Denys Dmytriyenko skrev:

Quoted 30 lines · Ulf Samuelsson
Quoted 29 lines

2014-06-09 12:04, Diego Sueiro skrev:
I have a 4,3" LCD display and HDMI connected.

"Romber Nelson" = Robert C Nelson.

I replaced the meta-ti kernel with his patched 3.8.13 kernel. If I understand this correctly, this has backported the Graphics acceleration.

Made sure that kernel-modules and libgles-omap3 are included in the build. Also made sure that qtbase-5.1.1 is built with qtbaseexamples for testing.

I also enabled the LCD in the bootargs.

Now I get a splash screen and I can run the qt examples, but only if I supply the linux frame buffer

"$ calculator" fails, due not no X-windowa

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen.

"$ calculator -platform linuxfb" works, but is of course not accelerated.

"$ calculator -platform eglfs" fails.

Could not initialize egl display
EGL error
Aborted

Quoted 8 lines
Quoted 3 lines

IIRC, there were some additional patches for libgles-omap3 and Qt5 in meta-arago... I don't remember the version of Qt5 when I played with it and got it working - it was either 5.1.1 or 5.2...

meta-arago (dora) has 5.1.1
master has 5.2.0

meta-qt5 uses 5.2.1

I'm using an AM335x-evmsk and I get the same errors about EGL.
I just checked the patches on the master branch of meta-arago; turns out it's not for 5.2.0!
In fact, you can find the same patches inside the "qt5_1_1_Sep13" folder
here: https://github.com/prabindh/qt-configs
I tried to see if I could adapt them but the source changed too much between 5.1 and 5.2.