Mention the QT_STYLE_OVERRIDE env variable.

IMO we need to have a list of all the environment variables somewhere,
but this one is especially useful and wasn't documented at all.

Change-Id: I2de09194c5904a9a27066604840ec4be66574fb7
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
This commit is contained in:
Shawn Rutledge 2012-11-30 17:43:45 +01:00 committed by The Qt Project
parent 45ce4740ae
commit 1164c6f6ca
1 changed files with 3 additions and 1 deletions

View File

@ -499,7 +499,9 @@ void QApplicationPrivate::process_cmdline()
\li -style= \e style, sets the application GUI style. Possible values
depend on your system configuration. If you compiled Qt with
additional styles or have additional styles as plugins these will
be available to the \c -style command line option.
be available to the \c -style command line option. You can also
set the style for all Qt applications by setting the
\c QT_STYLE_OVERRIDE environment variable.
\li -style \e style, is the same as listed above.
\li -stylesheet= \e stylesheet, sets the application \l styleSheet. The
value must be a path to a file that contains the Style Sheet.