[maemo-developers] Qt application crashes after 2 minutes if started from app grid
From: Cornelius Hald hald at icandy.deDate: Tue May 10 20:31:27 EEST 2011
- Previous message: Qt application crashes after 2 minutes if started from app grid
- Next message: Qt application crashes after 2 minutes if started from app grid
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 the QtSingleApplication class. > > If that works by starting a new instance of the application > which them notices that it's already running and exits, > that makes window topping a really heavy operation... Actually for me the single-instance thing works even with a normal QApplication. I've removed the .service file and the service line in the .desktop file. Still I can have only one instance. Not sure why it's like that, but it fits my needs :) Cheers, Conny
- Previous message: Qt application crashes after 2 minutes if started from app grid
- Next message: Qt application crashes after 2 minutes if started from app grid
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]