summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2012-11-30 17:43:45 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-30 23:56:02 +0100
commit1164c6f6ca9af694296325d9f485e3d0212f8e39 (patch)
tree426e28eff21640a94dc200700c5d78b40361de24 /src
parent45ce4740aed0c4e5825c07e51110aef2395f1fed (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/widgets/kernel/qapplication.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp
index 8d4e63448d..80912ff409 100644
--- a/src/widgets/kernel/qapplication.cpp
+++ b/src/widgets/kernel/qapplication.cpp
@@ -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.