diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-12-11 16:17:09 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-12-15 18:21:22 +0100 |
commit | bddf27cd5a5412c8282fab43111e7319874ca44e (patch) | |
tree | cdead9ae9b2d1789bb5560015fe04e3c6a4c8956 /tests/manual/examples/widgets/tools/settingseditor/CMakeLists.txt | |
parent | 38fa1d55ee25bf78bb391fbc8433e9d2a3b74e6c (diff) |
Move the settingseditor example into tests/manual
The example uses QTreeWidget when it should use a QTreeView with a
dedicated item model, primarily shows how to use item views (and very
little about QSettings), and is generally not useful to show how an
application could or should use QSettings to store settings.
Turn it into a manual test instead; it's useful for that as it supports
ini and plist files, and settings in different scopes.
Pick-to: 6.7
Fixes: QTBUG-119978
Change-Id: I7ce039f6391c41c679d126d90a251eee60327c39
Reviewed-by: Ed Cooke <ed.cooke@qt.io>
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/manual/examples/widgets/tools/settingseditor/CMakeLists.txt')
-rw-r--r-- | tests/manual/examples/widgets/tools/settingseditor/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/manual/examples/widgets/tools/settingseditor/CMakeLists.txt b/tests/manual/examples/widgets/tools/settingseditor/CMakeLists.txt new file mode 100644 index 0000000000..c7f65b1563 --- /dev/null +++ b/tests/manual/examples/widgets/tools/settingseditor/CMakeLists.txt @@ -0,0 +1,14 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause + +find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) +qt_internal_add_manual_test(settingseditor + SOURCES + locationdialog.cpp locationdialog.h + main.cpp + mainwindow.cpp mainwindow.h + settingstree.cpp settingstree.h + variantdelegate.cpp variantdelegate.h + LIBRARIES + Qt::Widgets +) |