[maemo-developers] Problem running installed app (using icon)
From: saurabh aggarwal aggarwal.saurabh at gmail.comDate: Fri May 14 20:39:00 EEST 2010
- Previous message: Problem running installed app (using icon)
- Next message: Problem running installed app (using icon)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.Ohrner at 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 at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100514/d247cb01/attachment.htm>
- Previous message: Problem running installed app (using icon)
- Next message: Problem running installed app (using icon)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]