If you want a new unmodified style what the default QApplication has selected on startup, try this.

Qt Code:
  1. QStyle *s = app.style();
  2. qDebug() << s->objectName();
  3. QStyle *ns = QStyleFactory::create(s->objectName()); qDebug() << ns << ns->objectName();
To copy to clipboard, switch view to plain text mode