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

Ramakanthreddy Kesireddy Ramakanthreddy.Kesireddy at techmahindra.com
Fri Nov 15 10:09:19 CET 2013


Hi Thiago,

The functions are getting used in IMX6 eglfshooks i.e. /qtbase/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp.

Thanks and Regards,
Ramakanth
-----Original Message-----
From: interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam.com at qt-project.org [mailto:interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam.com at qt-project.org] On Behalf Of Thiago Macieira
Sent: 15 November 2013 13:26
To: interest at qt-project.org
Subject: Re: [Interest] Error: Application cannot be started because it failed to load qt platform plugin “eglfs”

On sexta-feira, 15 de novembro de 2013 07:24:44, Ramakanthreddy Kesireddy
wrote:
> 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 can't find any of those functions getting used anywhere in Qt source code.

The evidence says they're getting called. Therefore, the only conclusion is that they are called by inline functions from a non-Qt header or from a static library.

Another important fact to remember is that all Qt plugins and libraries are linked with -Wl,--no-undefined. That means those functions *were* found at link time, but not at runtime. That means at least one of the libraries you linked to are not the same as you're running with.

Please recheck ALL library dependencies of that plugin that come from your toolchain. You're running against a library different than that which you compiled with.

Start with the most obvious candidates: the EGL and GLESv2 libraries.
--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

________________________________

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.



More information about the Interest mailing list