I am using a custom event processing with QEventLoop::processEvents() to make some piece of code synchronous... I have seen QEventLoop::wakeUp() in
QEventLoop::processEvents()
QEventLoop::wakeUp()