Hello everybody,

QT: 4.1.3
Compiler: MINGW
OS: Windows XP

With following code i was able to change my app Style to plastique. But the colors are not the same like the plastique prewiew in the designer..
My Fom is graw and in the preview from designer i get a beautiful bright blue

Its possible to compile my app and get this beautiful colors like in the preview??
Qt Code:
  1. #include <QApplication>
  2. #include "mainwindow.h"
  3.  
  4.  
  5. int main(int argc, char *argv[])
  6. {
  7.  
  8.  
  9. QApplication app(argc, argv);
  10. app.setStyle("plastique");
  11. MainWindow m;
  12.  
  13. m.show();
  14. return app.exec();
  15. }
To copy to clipboard, switch view to plain text mode