Hi All,
I have question for imx6ulevk and QT5. When I run my QT5 app on imx6ulevk via backend (fb). I get some error message like below:
root@imx6ulevk:~# ./myapp -platform eglfs
MESA-LOADER: malformed or no PCI ID
gbm: failed to open any driver (search paths /usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/vivante_dri.so: cannot open shared object file: No such file or directory
failed to load driver: vivante
gbm: failed to open any driver (search paths /usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory
failed to load driver: kms_swrast
gbm: failed to open any driver (search paths /usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory
failed to load swrast driver
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
Could not initialize egl display
Aborted
root@imx6ulevk:~# ./myapp -platform linuxfb:fb=/dev/fb0
This application failed to start because it could not find or load the Qt platform plugin "linuxfb".
Available platform plugins are: eglfs, minimal, minimalegl, offscreen.
Reinstalling the application may fix this problem.
Aborted
I find some solution on this community(qt5 application is not work with frame-buffer backend. ), they say need to build the 'linuxfb' Qt back-end. But I have not get the process to build the 'linuxfb' Qt back-end.
My BSP is repo
imx-3.14.52-1.1.0_ga
My build command is
MACHINE=imx6ulevk source fsl-setup-release.sh -b build-fb -e fb
bitbake fsl-image-qt5
My question is how to build 'linuxfb' Qt back-end?