I have a loop that performs heavy IO so I call qApp->processEvents() from time t开发者_如何学Pythono time to keep the GUI reactive. On Linux this leads to a serious bug because an Event is called ahead of schedule.
Is there a possiblity to exclude the Event from qApp->processEvents()?
I don't know if you can exclude it from processEvents
but by installing an event filter you should be able to prevent the event from being handled.
精彩评论