From 1164c6f6ca9af694296325d9f485e3d0212f8e39 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Fri, 30 Nov 2012 17:43:45 +0100 Subject: 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 --- src/widgets/kernel/qapplication.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.2.3