I have a button with the text 'start', when a 'my_process' starts I change its text to 'stop' if I click on the button when its text is 'stop' I call my_process.interrupt, which sets interrupt =true, but even if I execute :
QApplication:rocessEvents(QEventLoop::AllEvents);
I can not detect my_var interrupt== true.
Any idea ? Thanks.