Quote Originally Posted by Tanuki-no Torigava View Post
May be you should stop using while loops and use asynchronous signal/slot approach?
Where can I get info to implement an asynchronous signal?

I got it working now with a QApplication.proccessEvents(). I can click the stop button and it will stop the while loop.