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.
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. 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. 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? 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? Regards, -Saurabh On Fri, May 14, 2010 at 4:56 PM, Gunter Ohrner <g.ohr...@post.rwth-aachen.de > wrote: > saurabh aggarwal wrote: > > /usr/bin/myApp > > Looks as if you got a simple typo in your Desktop file, the file name's > character case does not match: > > > Exec=/usr/bin/myapp > > However, I cannot explain why the app appears in the task list at all > for a moment, as you described. That sounds rather strange. > > Greetings, > > Gunter > > _______________________________________________ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers >
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers