diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-05-09 16:54:49 +0200 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-05-17 18:44:41 +0200 |
commit | 107447f59348513e4eed6d8ba2e56c2100a46f6f (patch) | |
tree | 1e817fdc2688c87e8103629e19c775b9c2e2a184 | |
parent | d13dd9f71412525a8c57f89158caf324792b6074 (diff) | |
download | qtwebengine-107447f59348513e4eed6d8ba2e56c2100a46f6f.tar.gz |
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.
Pick-to: 6.5
Change-Id: Ifadd74a152b739461f2ad7ef1cb9763a2974b492
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
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 { |