I'm trying to display a message box but I do not want it to block, How can I accomplish this.

Qt Code:
  1. QMessageBox msgBox(this);
  2. msgBox.setWindowTitle("Loading ....");
  3. msgBox.setText("Reading Files, please wait ...");
  4. msgBox.open();
  5. // Run Stuff
  6. msgBox.close();
To copy to clipboard, switch view to plain text mode 

If I use open() or show() the messagebox never shows up. If I use exec(), it does show up, but it blocks.

The only way I got something like this to works is if I use ProgressDialog but then I need to use the progress bar. Unfortunately the task am doing is a shell call which provides no status.