Probably the title question is not very explicit. I am using Qt5 on Windows7.
In a thread (QThread) at some point, in the \"process()\" function/method, I m
\"process()\"
Starting in Qt 5.0, QSignalSpy offers a wait method. You hook it up to a signal and wait() will block until the signal fires.
QSignalSpy spy(SIGNAL(encrypted())); spy.wait(5000); //wait until signal fires or 5 second timeout expires