Re: Qt application crashes after 2 minutes if started from app grid

2011-05-10 Thread Eero Tamminen
Hi, On 05/09/2011 08:44 PM, ext Timur Kristóf wrote: On 05/09/2011 04:43 PM, Kimmo Hämäläinen wrote: If you don't use D-Bus at all, you need to implement this single-instance and window raising yourself. This can be easily done with the QtSingleApplication class. If that works by starting

Re: Qt application crashes after 2 minutes if started from app grid

2011-05-10 Thread Cornelius Hald
On Tue, 2011-05-10 at 18:24 +0300, Eero Tamminen wrote: On 05/09/2011 08:44 PM, ext Timur Kristóf wrote: On 05/09/2011 04:43 PM, Kimmo Hämäläinen wrote: If you don't use D-Bus at all, you need to implement this single-instance and window raising yourself. This can be easily done with

Re: Qt application crashes after 2 minutes if started from app grid

2011-05-10 Thread Thomas Perl
Hi, 2011/5/10 Cornelius Hald h...@icandy.de: On Tue, 2011-05-10 at 18:24 +0300, Eero Tamminen wrote: On 05/09/2011 08:44 PM, ext Timur Kristóf wrote: On 05/09/2011 04:43 PM, Kimmo Hämäläinen wrote: If you don't use D-Bus at all, you need to implement this single-instance and window

Re: Qt application crashes after 2 minutes if started from app grid

2011-05-09 Thread Kristóf Timur
Hello Conny, AFAIK you don't need to bother with D-Bus at all if you're not actually using it. If your app is open source, I could take a look at the code to try help out. Cheers, Timur On 05/09/2011 04:04 PM, Cornelius Hald wrote: Hi all! I've got a bit a weird problem. I'd we happy if

Re: Qt application crashes after 2 minutes if started from app grid

2011-05-09 Thread Cornelius Hald
Hi Timur, unfortunately I currently can't provide the complete sources. I don't think I have something special in there. My main() looks mostly like this: int main(int argc, char *argv[]) { #if defined(Q_OS_SYMBIAN) QApplication::setGraphicsSystem(openvg); #else

RE: Qt application crashes after 2 minutes if started from app grid

2011-05-09 Thread Felipe Crochik
-developers Subject: Re: Qt application crashes after 2 minutes if started from app grid Hi Timur, unfortunately I currently can't provide the complete sources. I don't think I have something special in there. My main() looks mostly like this: int main(int argc, char *argv[]) { #if defined

Re: Qt application crashes after 2 minutes if started from app grid

2011-05-09 Thread Ian Stirling
On 05/09/2011 03:04 PM, Cornelius Hald wrote: Hi all! I've got a bit a weird problem. I'd we happy if anyone could give me a hint. My Qt (QML/C++) app terminates after exactly 2 minutes if it was started via the graphical launcher. If I start it from the terminal it runs fine for hours. I

Re: Qt application crashes after 2 minutes if started from app grid

2011-05-09 Thread Cornelius Hald
Brilliant :) Already runs for 6:30 minutes without crashing. Do I still need the .service file or can I delete it as well? Thanks a lot! Conny P.S. Added the list again. On Mon, 2011-05-09 at 16:27 +0200, th.p...@gmail.com wrote: Hi, Have you tried removing the osso service line/d-bus

Re: Qt application crashes after 2 minutes if started from app grid

2011-05-09 Thread Cornelius Hald
So a short test shows that the .service file is not needed with Qt apps. Thanks everyone! This list is awesome :) Conny On Mon, 2011-05-09 at 16:37 +0200, Cornelius Hald wrote: Brilliant :) Already runs for 6:30 minutes without crashing. Do I still need the .service file or can I delete it as

Re: Qt application crashes after 2 minutes if started from app grid

2011-05-09 Thread Kimmo Hämäläinen
On 05/09/11 17:37, ext Cornelius Hald wrote: Brilliant :) Already runs for 6:30 minutes without crashing. Do I still need the .service file or can I delete it as well? There is a reason why all applications register a D-Bus service: that way we can guarantee that only one copy of the