[SailfishDevel] QML Timer stops running
xerxes2 at gmail.com
Tue Jan 14 04:51:59 UTC 2014
Yes but this is from python:
Now when I look at it, that code is from pre Elopocalypse, it may not
really be a QTimer but may work for you anyway. Seems to be a class
function or something.
I'm actually about to implement more logic to that method so hopefully you
get it to work. If only singleshot work would be a bit lame.
On Tue, Jan 14, 2014 at 5:32 AM, Thomas Tanghus <thomas at tanghus.net> wrote:
> 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>
> > > 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
> > > 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
> SailfishOS.org Devel mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel