Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtquickcontrols-environment.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2017 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\page qtquickcontrols-environment.html
6
\title Supported Environment Variables in Qt Quick Controls
7
8
This page contains a list of all environment variables that Qt Quick Controls
9
supports. The environment variables are primarily meant for testing purposes, but
10
they can also be used to set system-wide defaults.
11
12
\table
13
\header
14
\li Variable
15
\li Description
16
\row
17
\li \c QT_QUICK_CONTROLS_STYLE
18
\li Specifies the default \l {Styling Qt Quick Controls}{Qt Quick Controls style}.
19
The value can be either one of the built-in styles, for example \c "Material",
20
or a custom style such as \c "MyStyle".
21
\row
22
\li \c QT_QUICK_CONTROLS_FALLBACK_STYLE
23
\li Specifies a fallback style for \l {Creating a Custom Style}{custom styles}.
24
The value can be one of the built-in styles, for example \c "Material",
25
\row
26
\li \c QT_QUICK_CONTROLS_CONF
27
\li Specifies the location of the \l {Qt Quick Controls configuration file}.
28
By default, the configuration file is loaded from the application's
29
resources in \c ":/qtquickcontrols2.conf".
30
\row
31
\li \c QT_QUICK_CONTROLS_HOVER_ENABLED
32
\li Specifies whether Qt Quick Controls use \l {Control::hoverEnabled}{hover effects}.
33
The value can be set to \c 0 or \c 1 to disable or enable hover effects, respectively.
34
\endtable
35
36
\l {Imagine style} specific environment variables:
37
38
\include qquickimaginestyle.qdocinc env
39
40
\l {Material style} specific environment variables:
41
42
\include qquickmaterialstyle.qdocinc env
43
44
\l {Universal style} specific environment variables:
45
46
\include qquickuniversalstyle.qdocinc env
47
48
\section1 Related Information
49
50
\list
51
\li \l{Styling Qt Quick Controls}
52
\li \l{Qt Quick Controls Configuration File}
53
\endlist
54
*/
qtdeclarative
src
quickcontrols
doc
src
qtquickcontrols-environment.qdoc
Generated on
for Qt by
1.14.0