I built Qt 5.12.3 for Raspberry Pi following the RaspberryPi2EGLFS guide from Qt Wiki.
I was able to reproduce almost each one of the steps described in the guide, but on step 14 (EGL/GLES libraries fix), I failed to create some symbolic links.
I couldn't create the following links
sudo ln -s /opt/vc/lib/libbrcmEGL.so /opt/vc/lib/libEGL.so
sudo ln -s /opt/vc/lib/libbrcmGLESv2.so /opt/vc/lib/libGLESv2.so
because the files /opt/vc/lib/libEGL.so
and /opt/vc/lib/libGLESv2.so
already exist.
So, I moved those files to /opt/vc/lib/libEGL.so_backup
and /opt/vc/lib/libGLESv2.so_backup
, then I created the symbolic links and the rest of the steps worked like a charm.
The problem is that my applications (running on EGLFS) are looking so ulgy that is hard to believe that everything is OK. Colors are not good, styles are not applied, text is bigger in some places, text is over icons in some other places, etc.
In addition to that, apps that run OK in another Qt build, are crashing on this one.
So, I think the problem may be those symbolic links. Are they correct? Am I missing something? Anybody here had the same problem with EGLFS? If yes, how did you fix?
Thanks!