The Qt theme (known as Style in Qt terminology) can be adjusted similarly to GTK apps in the previous chapter. Before Qt 5, the current theme could be configured using a standard setup application but in Qt 5, the aim was to fit in with the current desktop—therefore, the application style will adapt to blend in. It's possible to override these settings on a per-application basis. As our application passes the command-line parameters in our QApplication constructor (widgets.NewQApplication(len(os.Args), os.Args)), we inherit some helpful options, such as -style=OtherStyle.
Another default parameter that can be very powerful for applications is -reverse. This option will tell all layouts to work in a right-to-left orientation instead of the default left to right: