[Interest] “Failed to load platform plugin ”xcb“ ” while launching qt5 app on CentOS 6.4

Thiago Macieira thiago.macieira at intel.com
Fri Sep 13 17:38:00 CEST 2013


On sexta-feira, 13 de setembro de 2013 18:17:42, Andrew Karasyov wrote:
> I have Qt5.0.1 based application on linux. It is compiled on Ubuntu 13.04
> and works on Ubuntu and Fedora.
> But when I'm trying to launch it on CentOS 6.4 the output is:
> 
> Failed to load platform plugin "xcb". Available platforms are:
> linuxfb
> minimal
> xcb
> 
> I applied all requirements are described in
> http://qt-project.org/doc/qt-5.0/qtdoc/deployment-x11.html.
> 
> There is no missing dependencies as ldd shows.

Run ldd -d -r on the plugin.

> Moreover I tried to create simple Qt5 "Hello word" application the same way
> and it runs without any problems on CentOS.
> 
> Any suggestions for how to fix or localize the problem ?

Run your application with QT_DEBUG_PLUGINS=1 and pay attention to why it 
failed to load xcb.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130913/f976948b/attachment.sig>


More information about the Interest mailing list