Still no bar.

I have a working QProgressDialog. It shows percentages. The default. Which I don't want.

So then I add in the application constructor:

Qt Code:
  1. progress = new QProgressBar( );
  2. progress->setFormat(" ");
  3. progress->setMaximum(0);
  4. progress->setMinimum(0);
  5. ...
  6. progressDialog->setBar(progress);
To copy to clipboard, switch view to plain text mode 

and the result is a QProgressDialog without a bar at all.