summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/btchat/remoteselector.cpp
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2023-03-17 13:53:40 +0100
committerIvan Solovev <ivan.solovev@qt.io>2023-03-22 13:45:03 +0000
commitc9b61fc300ef7a1d94e95c94a428fe84061fa651 (patch)
treea1fcee8ed80ee428e73804de770f4de2b2fbb9e2 /examples/bluetooth/btchat/remoteselector.cpp
parent2f036252a7162ca016ce2597825e1dfb07e00a52 (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/btchat/remoteselector.cpp')
0 files changed, 0 insertions, 0 deletions