Hi Andrew, I haven't used the imx6 myself, but it does appear to include hooks for EGLFS. If you configured Qt with -device linux-imx6-g++, they should already be baked in.
So, you should start your app with with the -platform eglfs argument and go from there. You might run into permissions issues with your card, in which case you may need to e.g. add your user to the video group. Start with simple examples (qtbase/examples/gui) like openglwindow and analogclock. HTH, Andrew ________________________________________ From: [email protected] [[email protected]] on behalf of Bell, Andrew [Allen & Heath UK] [[email protected]] Sent: Wednesday, September 25, 2013 4:26 PM To: [email protected] Subject: [Interest] QPA / EGLFS / OpenGL Hi All I was hoping someone could set me straight on EGLFS vs DirectFB / XCB. I'm developing on an iMX6 using a Yocto built distro. I don't have X or wayland in my distro, but I do want to use opengl, and I've managed to build Qt with es2 enabled. Can someone tell me which level of support the different QPA flavors provide for opengl. Should I be using EGLFS or DirectFB ? Will the straight FB have basic opengl es2 support or none ? Any info on the QPA's support for opengl would be really useful. TIA Andrew. _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
