The myapp vs. myApp is not the issue. I have replaced the actual name of the app with myApp (because of a confidentiality agreement), and that probably caused the typo.<br><br>I have since then added the service
file, and the required code (as given in a QT sample app). I still
wasn't able to launch my application. <br>
<br>So, I went and removed all my application initialization code (where
I was adding widgets to the main window, loading preferences, loading icons/svgs etc. ), and then I saw that my application (which now is just a QT default window) would run fine. As soon as I
re-add the initialization code, my app stops working.<br>
<br>Is there some sort of a time-limit imposed in which the app has to
call app.exec() or something like that? I also do have a few printfs in
my code - can they cause any problems?<br><br>Daniil mentioned that
there was a case when an app might be killed within 2 seconds of launch -
what exactly triggers that? Could it be that I am taking too long in
initialization, and that is causing something (maybe a dbus message) to
timeout and kill the app?<br>
<br>Regards,<br>-Saurabh<br><br><div class="gmail_quote">On Fri, May 14, 2010 at 4:56 PM, Gunter Ohrner <span dir="ltr"><<a href="mailto:G.Ohrner@post.rwth-aachen.de">G.Ohrner@post.rwth-aachen.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">saurabh aggarwal wrote:<br>
> /usr/bin/myApp<br>
<br>
Looks as if you got a simple typo in your Desktop file, the file name's<br>
character case does not match:<br>
<br>
> Exec=/usr/bin/myapp<br>
<br>
However, I cannot explain why the app appears in the task list at all<br>
for a moment, as you described. That sounds rather strange.<br>
<br>
Greetings,<br>
<font color="#888888"><br>
Gunter<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</div></div></blockquote></div><br>