From f0ec4fa2b49948561607dcdf52207ab7a3b2b8d5 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 13 May 2024 15:53:46 +0800 Subject: Doc: import Basic style in customization snippets This ensures that the user won't inadvertently base the customizations on top of the native styles, but also saves adding the extra code that using QtQuick.Templates would require. The first sentence of the section already states that the Basic style is in use. Fixes: QTBUG-125228 Change-Id: I191f1664ab0dcf190e4825b98e7ec12f00de307f Reviewed-by: Richard Moe Gustavsen (cherry picked from commit e4577eb6bb9308d2b84bfe66216333b001ac670b) Reviewed-by: Qt Cherry-pick Bot (cherry picked from commit 82a2eedcd4c78da0e918fca38158df381ad4763a) --- src/quickcontrols/doc/snippets/qtquickcontrols-scrollview-custom.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quickcontrols/doc/snippets/qtquickcontrols-scrollview-custom.qml') diff --git a/src/quickcontrols/doc/snippets/qtquickcontrols-scrollview-custom.qml b/src/quickcontrols/doc/snippets/qtquickcontrols-scrollview-custom.qml index 2f23b9fd58..7f92f89245 100644 --- a/src/quickcontrols/doc/snippets/qtquickcontrols-scrollview-custom.qml +++ b/src/quickcontrols/doc/snippets/qtquickcontrols-scrollview-custom.qml @@ -2,7 +2,7 @@ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only import QtQuick -import QtQuick.Controls +import QtQuick.Controls.Basic Item { width: 200 -- cgit v1.2.3