Quote Originally Posted by Qiieha View Post
why so difficult???
use
Qt Code:
  1. QProgressDialog progress(this);
  2. progress.setWindowModality(Qt::WindowModal);
  3. progress.setLabelText("working...");
  4. progress.setCancelButton(0);
  5. progress.setRange(0,0);
  6. progress.setMinimumDuration(0);
  7. progress.show();
  8. //do what u want...
  9. progress.cancel();
To copy to clipboard, switch view to plain text mode 
Did you noticed that this thread is 2 years old and the OP got the answer as well.