<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div>processEvents has an overload with a maxTime argument, isn't that<br class=""><blockquote type="cite" class=""><div class="">exactly what Ilya is looking for?<br class=""><br class=""> Process pending events that match flags for a maximum of maxTime<br class=""> milliseconds, or until there are no more events to process,<br class=""> whichever is shorter.<br class=""><br class=""><a href="http://doc.qt.io/qt-5/qeventloop.html#processEvents-2" class="">http://doc.qt.io/qt-5/qeventloop.html#processEvents-2</a><br class=""></div></blockquote><br class=""></div><div>Unfortunately it does not work as expected. processEvents should be running _within_ qeventloop. As I understand it's designed to process events during some long term task which do not return execution.</div><div>But it requires a blocking qeventloop.exec in the first place which I cannot afford to have.</div><div><br class=""></div><div>What I'm looking for, is something like qeventloop.exec(10ms).</div><div><br class=""></div></body></html>