you can only make preview in designer, but you must set a style in your code.
Qt Code:
  1. ...
  2. QApplication::setStyle(new QCDEStyle);
  3. ...
To copy to clipboard, switch view to plain text mode