[Interest] How to avoid QProcess polling

Joerg Bornemann joerg.bornemann at theqtcompany.com
Thu Apr 16 14:02:14 CEST 2015


On 16-Apr-15 13:51, Bo Thorsen wrote:

> Warning! I have no idea if this is evil or not. Try and google the
> consequences if you want to try it out.
>
> If you really want to get rid of this, you can easily do it:
>
> qDeleteAll(process->findChildren<QTimer>());

Wow... use at your own risk! ;)
Stopping the timer would be safer.
BTW, in Qt 5.5 commit 96cc8eec9b32f4e80c2d748687c485bc79133d39 removes 
the polling timer.


BR,

Joerg



More information about the Interest mailing list