I want to use the gpu to improve the performance, But when I run my project with -platform eglfs, it doesn't work.
This application failed to start because it could not find or load the Qt platform plugin "eglfs"
in "".
Available platform plugins are: minimal, offscreen, xcb.
Reinstalling the application may fix this problem.
Aborted (core dumped)
what should I do, the image version is 4.1.15 with Qt 5.6.2
could you tell me what bsp version and backed you built? i.mx6DL board?
Thanks joanxie
Sure, I use fsl-yocto-L4.1.15_2.0.0-ga with DISTRO=fsl-imx-x11 machine=imx6qsabresd and bitbake fsl-image-qt5
Then I check the rootfs:/usr/lib/qt5/plugins/platforms/, there are xcb minimal and offscreen but eglfs
But as Wigros Sun said, it shall be built by DISTRO=fsl-imx-wayland, I'm trying.
don't use wayland and x11, try to use FB, becasue FB uses eglfs as graphics plugin, wayland uses wayland-egl as default and x11 uses xcb
Thanks joanxie
Now I have finished building and there is libeglfs.so.
But there are a few question:
Regards
Mihan
matchbox should be for x11, I haven't use dbus before, maybe for new question, you can create a new topic for this, I don't know what you mean caton, I don't know what your operation process, maybe you can download xxx.sdcard to your board,
I found test steps like:
" go to /usr/share/qt5/examples/opengl/hellogl_es2/
and execute the hellogl_es2 example like this:
./hellogl_es2 --platform eglfs
you will see that the app is properly loaded."