diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2021-05-11 15:51:14 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2021-05-12 12:13:01 +0200 |
commit | 2261054c490c60cf297adf684855a634826f5813 (patch) | |
tree | ea167f6ff42c335044ead9f01a8c79db899882d9 /src | |
parent | 56b1ddee65fc8eead2f45763757671a8d018e8cb (diff) |
Doc: apps that never set a style in Qt 5 should set Basic in Qt 6
This avoids surprises when moving to Qt 6, where the default style is
now platform-dependent.
Fixes: QTBUG-92158
Pick-to: 6.1
Change-Id: I44cede00379b507f97ae7ac51aa5717c1b6510a8
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/controls/doc/src/qt6-changes.qdoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/imports/controls/doc/src/qt6-changes.qdoc b/src/imports/controls/doc/src/qt6-changes.qdoc index 79ac557a..efc1b84b 100644 --- a/src/imports/controls/doc/src/qt6-changes.qdoc +++ b/src/imports/controls/doc/src/qt6-changes.qdoc @@ -241,6 +241,11 @@ \li All other platforms: \l {Basic Style} \endlist + Therefore, applications that didn't specify a style in Qt 5 and have customized + controls should \l {Using Styles in Qt Quick Controls}{explicitly specify} + the Basic style in Qt 6 to ensure that those controls look and behave as + they did with Qt 5. + \section1 Palette The palette API was moved to QQuickItem. The various APIs that use palettes |