My qt application does some processing that can take a while. The problem of course is that after a few seconds the window says 'not responding' (i'm guessing because all the cpu time is being taken up by the processing function, leaving none to the gui).

What is the simplest way (without messing around with threads to resolve this problem)?