Quote Originally Posted by nix View Post
Hi,

I think your problem comes from following line :
Qt Code:
  1. //the gui thread should wait here until the worker has finished
  2. m_background->wait();
To copy to clipboard, switch view to plain text mode 

It seems you want block the Gui thread during the processing. But how your progressbar should be managed and refreshed if the GUI thread is blocked ??

You don't have to block the GUI thread, use QThread::finished() signal for manage post-treatement & cleaning once the processing is completed.

'hope it will help you.
Yes!
That was the hint I needed!
Thanks a lot!