EGLFS problems with Qt 5.9
Solved
Installation and Deployment
-
Hi,
I deploy my program on a TI AM3359 board and use the EGLFS backend. Until Qt 5.8, this worked fine. I now tried with Qt 5.9 and get the following error after starting the program.
QDebug: EGL library doesn't support Emulator extensions Aborted
Compilation does not produce any errors. Here is the relevant output of the configuration step.
EGL .................................... yes OpenVG ................................. no OpenGL: Desktop OpenGL ....................... no OpenGL ES 2.0 ........................ yes OpenGL ES 3.0 ........................ no OpenGL ES 3.1 ........................ no Session Management ..................... yes Features used by QPA backends: evdev .................................. yes libinput ............................... no mtdev .................................. no tslib .................................. yes xkbcommon-evdev ........................ no QPA backends: DirectFB ............................... no EGLFS .................................. yes EGLFS details: EGLFS i.Mx6 .......................... no EGLFS i.Mx6 Wayland .................. no EGLFS EGLDevice ...................... no EGLFS GBM ............................ no EGLFS Mali ........................... no EGLFS Raspberry Pi ................... no EGL on X11 ........................... no
Does anybody has any ideas what could be wrong?
Many thanks in advance!
-
I found a solution with the help of the following bug report
https://bugreports.qt.io/browse/QTBUG-61156
The problem is that the build system does not select the correct eglfs backend. In my case, the solution was to export
QT_QPA_EGLFS_INTEGRATION=none