[SailfishDevel] QML Timer stops running

Thomas Tanghus thomas at tanghus.net
Tue Jan 14 04:32:21 UTC 2014


On Tuesday 14 January 2014 05:20 Jens Persson wrote:
> I have a QTimer that is used as a timed shutdown for my app and I control
> it with a class method and that works. Just checked with 5 minutes and it
> worked perfectly, as clockwork. :)

Do you have some code to show? :)

> Greets Jens
> 
> On Tue, Jan 14, 2014 at 4:38 AM, Thomas Tanghus <thomas at tanghus.net> wrote:
> > On Tuesday 14 January 2014 01:48 Jens Persson wrote:
> > > Have you tried timers from QtCore? They seem to work fine for me.
> > 
> > At least with timers used in QML via
> > view->rootContext()->setContextProperty()
> > they seem to stop even faster than QML Timers.
> > 
> > I guess I have to implement something like libiphb as rainisto mentioned
> > in
> > http://talk.maemo.org/showpost.php?p=1401321&postcount=4
> > 
> > Just seems like overkill for such a simple app.

-- 
Med venlig hilsen / Best Regards

Thomas Tanghus


More information about the Devel mailing list