On 05/28/2013 04:56 PM, Eric Bénard wrote:
Le Tue, 28 May 2013 16:38:14 +0200,
Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit :

On 05/28/2013 09:04 AM, Eric Bénard wrote:
Le Tue, 28 May 2013 08:23:14 +0200,
Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit :

On 05/22/2013 05:02 PM, Eric Bénard wrote:
Hi Bastiaan,

Le Wed, 22 May 2013 16:46:42 +0200,
Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit :
Qt-embedded builds fine.
However running actual opengl ES2 code results in a segmentation fault.
Also qtdemo results in a segmentation fault.

I would like to give you more detailed information, however I'm a little
short on time to work on this.
I will try to make a stacktrace tomorrow.

FWIW : I have a working (runtime tested with hellogl_es2 -platform
eglfs) bbappend for meta-qt5 and eglfs platform on i.MX6. I'll try to
send it by friday.

Eric
Hi Eric, Otavio,

at this point I'm convinced I need QT 5 for the project I'm working on,
it delivers far better performance for QML (according to various
internet sources).

I'm still very much interested in testing your QT5 patches/bbappends,
to see if I can achieve decent performance on the IMX6S.

patches sent this night, please check the ML

Eric
Hi Eric, Otavio,
I'm afraid I need a little more help....
I'm quite new to yocto and as a result I find it difficult to get results.

what I've done so far:

I set-up the fsl-community-bsp-base 
<https://github.com/Freescale/fsl-community-bsp-base> repo for my 
wandboard-solo.
I added the meta-qt5 layer from the github repository (and adjusted my 
bblayers.conf).
I applied the patch of Vol 77 of the ML on meta-fsl-arm.
I modified a core-image-minimal recepe to build qtbase qtbase-tools and 
qtbase-plugins.

when I build this image, the build proceeds fine, however the resulting 
image contains version 5.0.1 of QT for opengl Desktop (!?)
(according to the do_configure logfile for qtbase)

In volume 78 of the ML, Eric mentions "cherry-pick e7a477a"
I 'm afraid don't know how. I tried 'git cherry-pick e7a477a' on the 
meta-qt5 repo, but this results in:
fatal: ambiguous argument 'e7a477a': unknown revision or path not in the 
working tree.

According to the same mail I also should apply the patches from
http://lists.openembedded.org/pipermail/openembedded-devel/2013-May/090861.html 
?
Then, after setting QT version 5.0.2 in conf/distro/include/qt5-versions.inc
I should be able to build a eglfs supporting version of qt5?

If I get the last part right, the only thing I need help with is the 
cherry-picking part...

try getting in meta-qt5 the branch
origin/newer-versions

Eric
OK, I switched to the origin/newer-versions branch for QT5.
now building fails on missing binaries (vivante?):
make[3]: Leaving directory `/home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/build/src/plugins/generic'
.obj/release-shared/qeglfshooks_imx6.o: In function `QEglFSImx6Hooks::destroyNativeWindow(_FBWindow*)':
/home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:86: undefined reference to `fbDestroyWindow'
.obj/release-shared/qeglfshooks_imx6.o: In function `QEglFSImx6Hooks::createNativeWindow(QSize const&, QSurfaceFormat const&)':
/home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:79: undefined reference to `fbCreateWindow'
...
How do I get the missing libraries?

Regards,
Bastiaan