[SailfishDevel] Cannot launch app by clicking app icon in emulator

Stockona stockona at ovi.com
Mon Nov 18 17:41:39 UTC 2013


On another note, when launching from terminal I got the following message:

Failed to load platform plugin "xcb". Available platforms are:
eglfs
wayland-egl
wayland

Aborted



________________________________
 From: Stockona <stockona at ovi.com>
To: "devel at lists.sailfishos.org" <devel at lists.sailfishos.org> 
Sent: Saturday, November 16, 2013 11:20 PM
Subject: [SailfishDevel] Cannot launch app by clicking app icon in emulator
 


My app launches fine when deployed by QtCreator. But clicking the app icon in emulator only showed a cover with "Loading" label, then the app died silently. I took a look at jolla-settings.desktop and didn't understand what was wrong.


My .desktop looks like this

>[Desktop Entry]
>Type=Application
>Name=Stockona
>Icon=/usr/share/icons/stockona.png
>Exec=invoker --type=silica-qt5 -s /usr/bin/stockona
>Comment=Sailfish UI application


For comparison, jolla-settings.desktop is

>[Desktop Entry]
>Type=Application
>Name=Settings

>...

>Exec=invoker --single-instance --type=silica-qt5 -s /usr/bin/jolla-settings

In both cases, I could not launch the apps by typing the exec command in terminal. 


Help please?

_______________________________________________
SailfishOS.org Devel mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131118/34278b1b/attachment.html>


More information about the Devel mailing list