After a small hiatus I returned to this and got the qt5 + gles2 + xcb combination working. Just to let people know that it is possible. I can now run QtQuick2 apps QGLWidgets etc. hellogl_es2 seems to go closer to 300 FPS. As an additional cherry on top the x11vnc works with them too.
I took the latest master-nexts of everything, compiled Qt myself and put a small bruteforce hack into Qt relating to the "incompatable color depths". Note: you may have to force the hard floats on in the Qt compilation, I added "DISTRO_OPTS += hard-float" to the "linux-imx6-g++/qmake.conf ". If you don't do this the likely first symptom is that all Qt's configure tests fail. Juha 2013/8/27 Juha Vuolle <[email protected]>: >> > some polish >> > If you can try it and provide feedback that would help to get xcb into >> > master. >> >> Thanks appreciated. > > Can't yet comment on the real XCB patch as it's still baking, have to > get back to that later. > > In the meanwhile I thought I'd mention I managed to manually compile > qt5 with xcb support against the master. > There were some hurdles on the way but I got at least the Qt widget > applications running on the X (run in the default matchbox window > manager of my image). > > The QtQuick2 and consequently EGL/gles2 didn't at least yet work so great: > > root@nitrogen6x:~/helloworld# DISPLAY=:0 ./helloworld > Qt Warning: Could not find a location of the system's Compose files. > Consider setting the QTCOMPOSE environment variable. > Warning: EGL suggested using X Visual ID 33 (RGB565) for EGL config 28 > (RGB444), but this is incompatable > Unable to find an X11 visual which matches EGL config 28 > Could not initialize EGL > Aborted > > cheers, > Juha > >> > Thanks, >> > Eric _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
