[Interest] subclassed QTimer
Daniel França
daniel.franca at gmail.com
Tue Nov 17 17:54:41 CET 2015
If the QTimer works in a different way than QML Timer type.
The QML Timer syncs with the animation timer, this is synced with the
screen refresh:
http://stackoverflow.com/questions/22752201/qml-timer-not-triggered-in-the-right-interval
You can see other people with similar problems and the same fix:
https://forum.qt.io/topic/43602/qtimer-is-slow-on-mac-if-application-is-running-in-background
https://github.com/codelol/QtTimer/commit/cef130b7ad27c9ab18e03c15710ace942381c82a#commitcomment-10696869
Em ter, 17 de nov de 2015 às 17:31, Thiago Macieira <
thiago.macieira at intel.com> escreveu:
> On Tuesday 17 November 2015 16:07:24 Daniel França wrote:
> > Without precise, at least in OSX, the timer simply doesn't get trigger
> > while in background
>
> I seriously doubt it. Both the Unix and Cocoa event dispatchers use
> QTimerInfoList, which simply calculates the timeout of the next timer that
> needs waking up, regardless of type.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151117/cd2a6270/attachment.html>
More information about the Interest
mailing list