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 <stock...@ovi.com>
To: "devel@lists.sailfishos.org" <devel@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
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to