[SailfishDevel] Failed to load platform plugin "xcb".

Juha Kallioinen juha.kallioinen at jolla.com
Mon Jul 14 07:22:23 UTC 2014


On 12.07.2014 21:10, Jukka Heikkilä wrote:
> Hi folks!
>
> During developing my program I have mostly used Emulator to run the 
> app and sometimes also real device and testing has been worked fine on 
> both. Now I faced the next problem with real device. When I press run 
> from Qt Creator, it will normally compile the app and transfer it to 
> real device. However next error will be shown on Application Output:
>
> Connecting to device...
> Failed to load platform plugin "xcb". Available platforms are:
> hwcomposer
> eglfs
> minimal
> wayland-egl
> wayland
>
> Remote application crashed: Process killed by signal
>
> I would like to ask, have you faced similar problems with it? Have you 
> any idea how to fix this? From IRC logs and mail list I didn't found 
> solution how to fix it (at least not sufficiently clear in related to 
> my skills). On Emulator my app run fine.

Have you possibly installed another bash version for example from 
openrepos? Or have you done any customization in your .bashrc or .profile?

This failure is a symptom of the shell environment not being set 
correctly over ssh when Qt Creator starts your application. The default 
bash that comes with Sailfish has been compiled with a non-standard 
option to source the user's dotfiles even in a non-interactive session. 
If you've installed a newer bash (I understand that bash 4 is available 
from operepos), then it will cause this kind of an issue when executing 
binaries over ssh.

Another user was having a similar problem and we sorted it out in 
#sailfishos a few weeks ago:

http://merproject.org/logs/%23sailfishos/%23sailfishos.2014-07-01.log.html#t2014-07-01T11:12:04

Best regards,
  Juha

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140714/8d234ab9/attachment.html>


More information about the Devel mailing list