summaryrefslogtreecommitdiff
path: root/src/controls/doc/src/qtquickcontrolsstyles-index.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/doc/src/qtquickcontrolsstyles-index.qdoc')
-rw-r--r--src/controls/doc/src/qtquickcontrolsstyles-index.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/controls/doc/src/qtquickcontrolsstyles-index.qdoc b/src/controls/doc/src/qtquickcontrolsstyles-index.qdoc
index 956096d1..8a1c2ab0 100644
--- a/src/controls/doc/src/qtquickcontrolsstyles-index.qdoc
+++ b/src/controls/doc/src/qtquickcontrolsstyles-index.qdoc
@@ -92,17 +92,17 @@
\section2 Selecting Styles
You can apply a different style to the controls by setting the
- \e QT_QUICK_CONTROLS_STYLE environment variable to the name of the style.
+ \e QT_QUICK_CONTROLS_1_STYLE environment variable to the name of the style.
For example, to use the Flat style, you can do the following:
\code
- QT_QUICK_CONTROLS_STYLE=Flat ./app
+ QT_QUICK_CONTROLS_1_STYLE=Flat ./app
\endcode
This can also be done in C++, using qputenv():
\code
- qputenv("QT_QUICK_CONTROLS_STYLE", "Flat");
+ qputenv("QT_QUICK_CONTROLS_1_STYLE", "Flat");
\endcode
\section1 Styling Views