← Back to team overview

ubuntu-phone team mailing list archive

Re: C++ app with QML UI

 

On 06.10.2013 16:19, brian larochelle wrote:
On 10/06/2013 06:35 AM, Michał Sawicz wrote:
First question on how to solve this - are you passing
--desktop_file_hint=/path/to/desktop/file?

Yes, currently running the following command:
./feedly --desktop_file_hint=./feedly.desktop

That looks fine...

creating surface at (0, 0) with size (768, 1280) with title 'Window
1'QOpenGLShader::link: "--From Fragment Shader:

That looks correct, too - means it's created a window...

Then after a handfull of seconds this:
[1]+  Stopped                 ./feedly --desktop_file_hint=./feedly.desktop

That means it's been suspended due to app lifecycle - so it's actually been picked up. You sure it does not show up in Dash Apps page?

Then I have to kill the process with -9.

I've also tried editing .desktop file Exec path, moved the .desktop file
to /usr/share/applications/, put the binary in /usr/bin/
and tried feedly
--desktop_file_hint=/usr/share/applications/feedly.desktop, results
appear to be the same.

Exec isn't used if you execute the app yourself.

So... from all of the above I'm seeing everything is behaving correctly... If it still doesn't work for you, could you let us have the feedly binary to test & see?

Cheers,
--
Michał (Saviq) Sawicz <michal.sawicz@xxxxxxxxxxxxx>
Canonical Services Ltd.


Follow ups

References