diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2023-03-17 13:53:40 +0100 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2023-03-22 13:45:03 +0000 |
commit | c9b61fc300ef7a1d94e95c94a428fe84061fa651 (patch) | |
tree | a1fcee8ed80ee428e73804de770f4de2b2fbb9e2 /examples/bluetooth/CMakeLists.txt | |
parent | 2f036252a7162ca016ce2597825e1dfb07e00a52 (diff) |
BtScanner example: move to manual tests
The example mostly shows the usage of
QBluetooth{Device,Service}DiscoveryAgent classes, which is also
illustrated by other examples. Move it, because it's not fully
functional on mobile platforms (because it's widget based).
Do not remove it completely, because it might still be useful
for doing Classic device scan.
Also implement some improvements while on it:
* fix CMakeLists.txt by using qt_standard_project_setup() and PRIVATE
linking
* fix memory leak in DeviceDiscoveryDialog
* rework the code to use Qt parent-child model instead of manually
deleting objects where possible
* fix includes
* fix forward declarations
Task-number: QTBUG-111972
Change-Id: Ie4bc9e25ccdda6d5f5de2f57528df349c71cdc12
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
(cherry picked from commit 6168203d7c0e8e4df1908a62338b8abdd57855eb)
Diffstat (limited to 'examples/bluetooth/CMakeLists.txt')
-rw-r--r-- | examples/bluetooth/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/bluetooth/CMakeLists.txt b/examples/bluetooth/CMakeLists.txt index 309e4bbe..de0996cc 100644 --- a/examples/bluetooth/CMakeLists.txt +++ b/examples/bluetooth/CMakeLists.txt @@ -4,7 +4,6 @@ qt_internal_add_example(heartrate-server) if(TARGET Qt::Widgets) qt_internal_add_example(btchat) - qt_internal_add_example(btscanner) endif() if(TARGET Qt::Quick) qt_internal_add_example(pingpong) |