[Interest] Error: Application cannot be started because it failed to load qt platform plugin “eglfs”

Tomasz Olszak olszak.tomasz at gmail.com
Fri Nov 15 09:20:12 CET 2013


2013/11/15 Ramakanthreddy Kesireddy <
Ramakanthreddy.Kesireddy at techmahindra.com>

>
> $ ldd -d -r /usr/local/qt5/plugins/platforms/libqeglfs.so
>
>
>     libfontconfig.so.1 => /usr/lib/arm-linux-gnueabi/libfontconfig.so.1
> (0x2ac3f000)
>     libfreetype.so.6 => /usr/lib/arm-linux-gnueabi/libfreetype.so.6
> (0x2ac91000)
>     libgthread-2.0.so.0 => /usr/lib/arm-linux-gnueabi/libgthread-2.0.so.0
> (0x2aaef000)
>     librt.so.1 => /lib/arm-linux-gnueabi/librt.so.1 (0x2aba3000)
>     libglib-2.0.so.0 => /lib/arm-linux-gnueabi/libglib-2.0.so.0
> (0x2acf1000)
>     libQt5Gui.so.5 => /usr/local/qt5/lib/libQt5Gui.so.5 (0x2adad000)
>     libQt5Core.so.5 => /usr/local/qt5/lib/libQt5Core.so.5 (0x2b108000)
>     libGLESv2.so.2 => /usr/lib/arm-linux-gnueabi/mesa-egl/libGLESv2.so.2
> (0x2aaaf000)
>     libEGL.so.1 => /usr/lib/arm-linux-gnueabi/mesa-egl/libEGL.so.1
> (0x2ab3a000)
>     libGAL.so => /usr/lib/libGAL.so (0x2b596000)
>     libpthread.so.0 => /lib/arm-linux-gnueabi/libpthread.so.0 (0x2ab21000)
>     libstdc++.so.6 => /usr/lib/arm-linux-gnueabi/libstdc++.so.6
> (0x2b64e000)
>     libm.so.6 => /lib/arm-linux-gnueabi/libm.so.6 (0x2b6f9000)
>     libgcc_s.so.1 => /lib/arm-linux-gnueabi/libgcc_s.so.1 (0x2abb1000)
>     libc.so.6 => /lib/arm-linux-gnueabi/libc.so.6 (0x2b765000)
>     libexpat.so.1 => /lib/arm-linux-gnueabi/libexpat.so.1 (0x2abc2000)
>     /lib/ld-linux.so.3 (0x2ab02000)
>     libz.so.1 => /lib/arm-linux-gnueabi/libz.so.1 (0x2abe3000)
>     libpcre.so.3 => /lib/arm-linux-gnueabi/libpcre.so.3 (0x2b846000)
>     libdl.so.2 => /lib/arm-linux-gnueabi/libdl.so.2 (0x2aac2000)
>     libglapi.so.0 => /usr/lib/arm-linux-gnueabi/libglapi.so.0 (0x2ac6a000)
>     libX11-xcb.so.1 => /usr/lib/arm-linux-gnueabi/libX11-xcb.so.1
> (0x2ab55000)
>     libX11.so.6 => /usr/lib/arm-linux-gnueabi/libX11.so.6 (0x2b87e000)
>     libxcb-dri2.so.0 => /usr/lib/arm-linux-gnueabi/libxcb-dri2.so.0
> (0x2abf5000)
>     libxcb-xfixes.so.0 => /usr/lib/arm-linux-gnueabi/libxcb-xfixes.so.0
> (0x2ac00000)
>     libxcb.so.1 => /usr/lib/arm-linux-gnueabi/libxcb.so.1 (0x2ac24000)
>     libgbm.so.1 => /usr/lib/arm-linux-gnueabi/libgbm.so.1 (0x2b965000)
>     libudev.so.0 => /lib/arm-linux-gnueabi/libudev.so.0 (0x2b971000)
>     libdrm.so.2 => /usr/lib/arm-linux-gnueabi/libdrm.so.2 (0x2b983000)
>     libwayland-client.so.0 =>
> /usr/lib/arm-linux-gnueabi/libwayland-client.so.0 (0x2b992000)
>     libwayland-server.so.0 =>
> /usr/lib/arm-linux-gnueabi/libwayland-server.so.0 (0x2b9a0000)
>     libXdamage.so.1 => /usr/lib/arm-linux-gnueabi/libXdamage.so.1
> (0x2b9af000)
>     libXfixes.so.3 => /usr/lib/arm-linux-gnueabi/libXfixes.so.3
> (0x2b9b9000)
>     libXext.so.6 => /usr/lib/arm-linux-gnueabi/libXext.so.6 (0x2b9c5000)
>     libXau.so.6 => /usr/lib/arm-linux-gnueabi/libXau.so.6 (0x2aad5000)
>     libXdmcp.so.6 => /usr/lib/arm-linux-gnueabi/libXdmcp.so.6 (0x2b9d8000)
>     libffi.so.6 => /usr/lib/arm-linux-gnueabi/libffi.so.6 (0x2b9e4000)
> undefined symbol: fbDestroyWindow
>  (/usr/local/qt5/plugins/platforms/libqeglfs.so)
> undefined symbol: fbCreateWindow
>  (/usr/local/qt5/plugins/platforms/libqeglfs.so)
> undefined symbol: fbGetDisplayByIndex
>  (/usr/local/qt5/plugins/platforms/libqeglfs.so)
> undefined symbol: fbGetDisplayGeometry
>  (/usr/local/qt5/plugins/platforms/libqeglfs.so)
>
> I had been referring to
> https://community.freescale.com/message/324447#324447 where on our target
> board it is gnome distribution in which xcb binaries are outdated. So we
> configured with -no-xcb and atttached is the configure line output.
>
> Please suggest in this regard.
>
> Thanks and Regards,
> Ramakanth
>
> It looks like You have cross compiled eglfs plugin for framebuffer by
including EGL/eglvivante.h in freescale device eglfs hook. It's Ok!
The problem is that your libraries (EGL, GLESv2) are not framebuffer based.
Try
ln -ls /usr/lib/libEGL* /usr/lib/libGLESv2* /usr/lib/libGAL*

they should be symbolic links pointing to something like:
libEGL-fb.so, libGAL-fb.so and so on.
But I suppose they aren't. If they point to e.g. *-x11 then you system is X
based and you should build and use Qt xcb plugin.

-- 
regards / pozdrawiam, Tomasz Olszak
Qt for Tizen | http://qt-project.org/wiki/Tizen
Qt Certified Developer | http://qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131115/01e27139/attachment.html>


More information about the Interest mailing list