i have some question about qt5 cross-compile with i.mx6ulevk kit.
i want to remove x11 so i set back-end to frame buffer and bitbake fsl-image-qt5.
and then i set the cross-compile environment with QtCreator. it's fine.
but where i try to execute my application at target board (imx6ulevk ) it's not work with below message.
"Could not connect to display"
i tried too.
>export DISPLAY:0.0
>xhost +
./application-name -platform qws
./application-name -platform xcb
all result are same. :smileysad:
Is there something missing what i did?
Solved! Go to Solution.
Hi,
You need to build the 'linuxfb' Qt back-end. The eglfs one will not work on mx6ul since there's no GPU.
Regards,
Gary
Hello,
Have you tried? ./application -qws
Luis
thank Luis.
i have tried like this... same... :smileysad:
root@imx6ulevk:~# ./t1 -qws
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: eglfs, minimal, minimalegl, offscreen.
Reinstalling the application may fix this problem.
Aborted
and I have tried to like this... it's same too with error message...
root@imx6ulevk:~# ./t1 -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 directy
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 diry
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 directoy
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 diry
Could not initialize egl display
Aborted
Hi,
You need to build the 'linuxfb' Qt back-end. The eglfs one will not work on mx6ul since there's no GPU.
Regards,
Gary