aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-11-09 03:07:01 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-11-09 03:07:01 +0100
commitcb182fb50e49fa88f7bf33f2407447167fd8048f (patch)
tree3e8cc6319ee9b2c4d20f7e0bcb784928f916146e /src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc
parent611422b5968ceac6cfba034116a3d1e107d8e2df (diff)
parent9c05807b951167bc0c8385811c9df1bd9d48ca6d (diff)
Merge remote-tracking branch 'origin/5.14' into 5.15
Diffstat (limited to 'src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc')
-rw-r--r--src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc
index 27731e42..75e59f42 100644
--- a/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc
+++ b/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc
@@ -78,6 +78,13 @@
from highest to lowest. That is, using QQuickStyle to set the style will
always take priority over using the command line argument, for example.
+ \warning When resolving a given style name to an absolute path, QQuickStyle
+ may search the root resource directory (\c {:}). Consequently, make sure
+ that your resource directories are named differently than the names of the
+ styles that your application supports. Otherwise, the styles may not load.
+ For example, avoid naming a resource directory \c :/material
+ (or \c {:/Material}) if the application supports the Material style.
+
\section2 Using QQuickStyle in C++
\l QQuickStyle provides C++ API for configuring a specific style. The following