diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-08-19 17:48:02 +0200 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-09-09 12:54:11 +0000 |
| commit | 3b11e75d4565dc64d4a4195e4fef73e4d7bac486 (patch) | |
| tree | 4f929f74bd1d26981a56660e10411c48ef11eeef | |
| parent | b04e7c66373e11872e0e207afd85fd64ac607e49 (diff) | |
Native style: Fix qtp004 warning
The module doesn't depend on the QML not being accessible, so we can
just enable the policy. None of the QML files get adjusted - while they
import their own module in a few places, they use namespaced imports, so
we can't just drop the import without doing unneeded further
adjustments.
Task-number: QTBUG-127950
Change-Id: I6cc5028b093a23b54f5772e128c478afeb45bf6a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit e71f0d0a8bb11b48fa3516d695f19099598ce611)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| -rw-r--r-- | src/quicknativestyle/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quicknativestyle/CMakeLists.txt b/src/quicknativestyle/CMakeLists.txt index c5056d33b7..598baba146 100644 --- a/src/quicknativestyle/CMakeLists.txt +++ b/src/quicknativestyle/CMakeLists.txt @@ -5,6 +5,8 @@ ## qtquickcontrols2nativestyleplugin Plugin: ##################################################################### +qt_policy(SET QTP0004 NEW) + set(qml_files "controls/DefaultButton.qml" "controls/DefaultCheckBox.qml" |
