diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-05-09 16:54:49 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-05-18 07:48:50 +0000 |
commit | 4fe0a6375bba7abfd60fda0a54d6a795735be1aa (patch) | |
tree | 748c89c602ca956654637ba45331099684fa7ef4 | |
parent | 9f43bc4809e3f83f8694a0327d2dccb4f814aef8 (diff) |
QuickNanoBrowser: Switch to Fusion style
Since Qt 6, the default Qt Quick Controls style is native style on
Windows and macOS. Since Qt 6.5, there is a warning to not to
customize native style:
"QML QQuickItem: The current style does not support customization of
this control ..."
Use non-native Fusion style instead, which appearance still resembles
the native style and is customizable.
Change-Id: Ifadd74a152b739461f2ad7ef1cb9763a2974b492
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 107447f59348513e4eed6d8ba2e56c2100a46f6f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/webenginequick/quicknanobrowser/BrowserWindow.qml b/examples/webenginequick/quicknanobrowser/BrowserWindow.qml index a517c5a51..c40fc1795 100644 --- a/examples/webenginequick/quicknanobrowser/BrowserWindow.qml +++ b/examples/webenginequick/quicknanobrowser/BrowserWindow.qml @@ -4,7 +4,7 @@ import QtCore import QtQml import QtQuick -import QtQuick.Controls +import QtQuick.Controls.Fusion import QtQuick.Layouts import QtQuick.Window import QtWebEngine diff --git a/examples/webenginequick/quicknanobrowser/DownloadView.qml b/examples/webenginequick/quicknanobrowser/DownloadView.qml index e16647cdb..421b4f55c 100644 --- a/examples/webenginequick/quicknanobrowser/DownloadView.qml +++ b/examples/webenginequick/quicknanobrowser/DownloadView.qml @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause import QtQuick -import QtQuick.Controls +import QtQuick.Controls.Fusion import QtWebEngine import QtQuick.Layouts diff --git a/examples/webenginequick/quicknanobrowser/FindBar.qml b/examples/webenginequick/quicknanobrowser/FindBar.qml index 4d130a22b..de73f88cd 100644 --- a/examples/webenginequick/quicknanobrowser/FindBar.qml +++ b/examples/webenginequick/quicknanobrowser/FindBar.qml @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause import QtQuick -import QtQuick.Controls +import QtQuick.Controls.Fusion import QtQuick.Layouts Rectangle { |