Howto set the Qt Application style from command line
An Qt application style is set by the Qt environment. But sometimes one want to run an application with a different style. It's really easy, from console just add the -style=mystyle command line option.
For example:
./myapp -style=mystyle
or
./myapp -style mystyle
All Qt programs automatically support the style command line option.
Want to know what other command line options QApplication supports ? Check it here.
No comments:
Post a Comment