<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 12.07.2014 21:10, Jukka Heikkilä
wrote:<br>
</div>
<blockquote
cite="mid:CACKEAnFhFx_JW=a5WQAn1tq4BpRV_W-WXZEHMMSyQCQ2LjrM=w@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">
<div>Hi folks!<br>
<br>
</div>
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:<br>
<div>
<div><br>
Connecting to device...<br>
Failed to load platform plugin "xcb". Available platforms
are: <br>
hwcomposer<br>
eglfs<br>
minimal<br>
wayland-egl<br>
wayland<br>
<br>
Remote application crashed: Process killed by signal<br>
<br>
</div>
<div>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 (<span
id="result_box" class="" lang="en"><span class="">at least
not</span> <span class="">sufficiently clear</span> <span
class="">in related to my</span> <span class="">skills</span></span>).
On Emulator my app run fine.<br>
</div>
</div>
</div>
</blockquote>
<br>
Have you possibly installed another bash version for example from
openrepos? Or have you done any customization in your .bashrc or
.profile?<br>
<br>
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.<br>
<br>
Another user was having a similar problem and we sorted it out in
#sailfishos a few weeks ago:<br>
<br>
<a class="moz-txt-link-freetext" href="http://merproject.org/logs/%23sailfishos/%23sailfishos.2014-07-01.log.html#t2014-07-01T11:12:04">http://merproject.org/logs/%23sailfishos/%23sailfishos.2014-07-01.log.html#t2014-07-01T11:12:04</a><br>
<br>
Best regards,<br>
Juha<br>
<br>
</body>
</html>