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-21 12:02:20 +0100 |
commit | 6168203d7c0e8e4df1908a62338b8abdd57855eb (patch) | |
tree | 056982aae0f5be2523e1e071457f62341f28a1a5 /src/bluetooth/doc/src | |
parent | 7d20a4fb6a520b13666c8808ae74fb9a43b6532c (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
Pick-to: 6.5 6.5.0
Change-Id: Ie4bc9e25ccdda6d5f5de2f57528df349c71cdc12
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
Diffstat (limited to 'src/bluetooth/doc/src')
-rw-r--r-- | src/bluetooth/doc/src/bluetooth-index.qdoc | 1 | ||||
-rw-r--r-- | src/bluetooth/doc/src/examples.qdoc | 3 |
2 files changed, 0 insertions, 4 deletions
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 |