diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-02-08 09:41:33 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-02-09 00:23:34 +0100 |
commit | 3fe0bf6e1bd3713543a5b763d3bfcee0c03faf4c (patch) | |
tree | 73a54a589276a8e7e6966ffc7e60afd78740c89e /examples/widgets/dialogs/findfiles/findfiles.pro | |
parent | 55f2b448b0aec4e9a8fd3896b2a40f37e939ecb3 (diff) |
Move findfiles example into manual tests
The example follows bad and outdated practices:
- running time consuming and I/O heavy workload in the GUI thread
- calling processEvents to keep the UI responsive
- showing results only at the end of a search rather than continuously
Perhaps this example can be rewritten at some point to apply modern
practices (at least use a thread and emit signals), but it seems
to have low overall educational value.
Moving it to be a manual test for now.
Fixes: QTBUG-111002
Pick-to: 6.5
Change-Id: Id630fd4599096448ea4f96bcbf977b11a039796f
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'examples/widgets/dialogs/findfiles/findfiles.pro')
-rw-r--r-- | examples/widgets/dialogs/findfiles/findfiles.pro | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/examples/widgets/dialogs/findfiles/findfiles.pro b/examples/widgets/dialogs/findfiles/findfiles.pro deleted file mode 100644 index 4fb77f0dd7..0000000000 --- a/examples/widgets/dialogs/findfiles/findfiles.pro +++ /dev/null @@ -1,10 +0,0 @@ -QT += widgets -requires(qtConfig(filedialog)) - -HEADERS = window.h -SOURCES = main.cpp \ - window.cpp - -# install -target.path = $$[QT_INSTALL_EXAMPLES]/widgets/dialogs/findfiles -INSTALLS += target |