From b908c5cf28923a3ae2d9262361a9810bc57cc9c7 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Fri, 9 Jun 2023 11:07:57 +0200 Subject: [PATCH] Move scroller/graphicsview example into tests/manual The example seems incomplete, is undocumented (and unused in shippets, in spite of tags being present), and generally full of comments that give the impression that this is for manual testing rather than showing best practices. Pick-to: 6.5 6.6 Change-Id: Ie615420e493cc6bb461c5d9ff8d4ae82bb3591db Reviewed-by: Richard Moe Gustavsen --- examples/widgets/CMakeLists.txt | 1 - examples/widgets/widgets.pro | 1 - .../manual/examples}/widgets/scroller/CMakeLists.txt | 0 .../examples}/widgets/scroller/graphicsview/CMakeLists.txt | 0 .../examples}/widgets/scroller/graphicsview/graphicsview.pro | 0 .../manual/examples}/widgets/scroller/graphicsview/main.cpp | 0 .../manual/examples}/widgets/scroller/scroller.pro | 0 7 files changed, 2 deletions(-) rename {examples => tests/manual/examples}/widgets/scroller/CMakeLists.txt (100%) rename {examples => tests/manual/examples}/widgets/scroller/graphicsview/CMakeLists.txt (100%) rename {examples => tests/manual/examples}/widgets/scroller/graphicsview/graphicsview.pro (100%) rename {examples => tests/manual/examples}/widgets/scroller/graphicsview/main.cpp (100%) rename {examples => tests/manual/examples}/widgets/scroller/scroller.pro (100%) diff --git a/examples/widgets/CMakeLists.txt b/examples/widgets/CMakeLists.txt index 315865b841..91234a8232 100644 --- a/examples/widgets/CMakeLists.txt +++ b/examples/widgets/CMakeLists.txt @@ -17,7 +17,6 @@ add_subdirectory(itemviews) add_subdirectory(layouts) add_subdirectory(painting) add_subdirectory(richtext) -add_subdirectory(scroller) add_subdirectory(tools) add_subdirectory(touch) add_subdirectory(tutorials) diff --git a/examples/widgets/widgets.pro b/examples/widgets/widgets.pro index 2dbbefa141..ac65fd8e08 100644 --- a/examples/widgets/widgets.pro +++ b/examples/widgets/widgets.pro @@ -17,7 +17,6 @@ SUBDIRS = \ mainwindows \ painting \ richtext \ - scroller \ tools \ touch \ tutorials \ diff --git a/examples/widgets/scroller/CMakeLists.txt b/tests/manual/examples/widgets/scroller/CMakeLists.txt similarity index 100% rename from examples/widgets/scroller/CMakeLists.txt rename to tests/manual/examples/widgets/scroller/CMakeLists.txt diff --git a/examples/widgets/scroller/graphicsview/CMakeLists.txt b/tests/manual/examples/widgets/scroller/graphicsview/CMakeLists.txt similarity index 100% rename from examples/widgets/scroller/graphicsview/CMakeLists.txt rename to tests/manual/examples/widgets/scroller/graphicsview/CMakeLists.txt diff --git a/examples/widgets/scroller/graphicsview/graphicsview.pro b/tests/manual/examples/widgets/scroller/graphicsview/graphicsview.pro similarity index 100% rename from examples/widgets/scroller/graphicsview/graphicsview.pro rename to tests/manual/examples/widgets/scroller/graphicsview/graphicsview.pro diff --git a/examples/widgets/scroller/graphicsview/main.cpp b/tests/manual/examples/widgets/scroller/graphicsview/main.cpp similarity index 100% rename from examples/widgets/scroller/graphicsview/main.cpp rename to tests/manual/examples/widgets/scroller/graphicsview/main.cpp diff --git a/examples/widgets/scroller/scroller.pro b/tests/manual/examples/widgets/scroller/scroller.pro similarity index 100% rename from examples/widgets/scroller/scroller.pro rename to tests/manual/examples/widgets/scroller/scroller.pro