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??
#include <QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
app.setStyle("plastique");
MainWindow m;
m.show();
return app.exec();
}
#include <QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
app.setStyle("plastique");
MainWindow m;
m.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Bookmarks