Originally Posted by jpn First of all, could you finally start using appropriate [code] tags, please? I already sent instructions to you. Secondly, the "default style" depends on the environment. The following piece of code prints out which style is the default style for you: Qt Code: Switch view qDebug() << app.style()->objectName(); qDebug() << app.style()->objectName(); To copy to clipboard, switch view to plain text mode You can try different styles by passing it as a command line argument: bash Code: Switch view ./myapp -style windows ./myapp -style windows To copy to clipboard, switch view to plain text mode You can try different styles like "windows", "plastique", "cleanlooks" etc. Does any of them work? Sorry i will start to use code!! My default style is cleanlooks, change to windows and WORKS, but, only with windows style. I will try to set windows style as default thanks!!
qDebug() << app.style()->objectName();
./myapp -style windows
Last edited by wysota; 2nd January 2009 at 23:21.
Forum Rules
Bookmarks