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

Robin Burchell robin+meego at viroteck.net
Mon Nov 18 23:29:11 UTC 2013


Hi,

Running applications from SSH requires that the environment be
correctly set up. See the files in /var/lib/environment/nemo.

Developer mode (which I guess parts of which may filter back down to
the SDK, at some point, maybe) will set this up for you when enabled,
but in the meantime, you'll have to do it by hand.

For diagnosing such problems, run (as root) journalctl -af which will
output useful information about what is going on on the system.

BR,

Robin


On Sun, Nov 17, 2013 at 8:20 AM, Stockona <stockona at ovi.com> wrote:
> 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


More information about the Devel mailing list