From 6168203d7c0e8e4df1908a62338b8abdd57855eb Mon Sep 17 00:00:00 2001 From: Ivan Solovev Date: Fri, 17 Mar 2023 13:53:40 +0100 Subject: 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 Pick-to: 6.5 6.5.0 Change-Id: Ie4bc9e25ccdda6d5f5de2f57528df349c71cdc12 Reviewed-by: Juha Vuolle --- src/bluetooth/doc/src/bluetooth-index.qdoc | 1 - src/bluetooth/doc/src/examples.qdoc | 3 --- 2 files changed, 4 deletions(-) (limited to 'src/bluetooth/doc/src') diff --git a/src/bluetooth/doc/src/bluetooth-index.qdoc b/src/bluetooth/doc/src/bluetooth-index.qdoc index 7f2a0315..385c383b 100644 --- a/src/bluetooth/doc/src/bluetooth-index.qdoc +++ b/src/bluetooth/doc/src/bluetooth-index.qdoc @@ -168,7 +168,6 @@ quick way to enable all QtBluetooth logging is to add the following line to the \li C++ \list \li \l {btchat}{Bluetooth Chat} - \li \l {btscanner}{Bluetooth Scanner} \endlist \endlist diff --git a/src/bluetooth/doc/src/examples.qdoc b/src/bluetooth/doc/src/examples.qdoc index be2792c8..4d9969f9 100644 --- a/src/bluetooth/doc/src/examples.qdoc +++ b/src/bluetooth/doc/src/examples.qdoc @@ -23,9 +23,6 @@ \row \li \l{btchat}{Bluetooth Chat} \li Simple chat server and client via Bluetooth. - \row - \li \l{btscanner}{Bluetooth Scanner} - \li Scan for Bluetooth devices. \endtable \section2 QML Examples -- cgit v1.2.3