diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2023-03-27 11:46:33 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2023-03-28 14:44:16 +0200 |
commit | a1f43b9dcd722527d52ceb0c7a138bd2994c1a7b (patch) | |
tree | 827d2ee2e5e3a1edaec5b8ce7c4089d45ac3163b /examples/bluetooth/heartrate-game/bluetoothbaseclass.h | |
parent | 6f155ca7df89c649e178dac57f69574290cb516b (diff) | |
download | qtconnectivity-a1f43b9dcd722527d52ceb0c7a138bd2994c1a7b.tar.gz |
HeartRate Game example: general clean-up
C++ code cleanup:
* Fix include headers
* Minor code-style improvements
* Silence the warning about an uncreatable type by explicitly using
QML_UNCREATABLE. We do not create the type in QML anyway.
* Do not limit Windows platform to simulator mode. The example works
perfectly on Windows.
Build-system improvements:
* Use qt_standard_project_setup() and PRIVATE linking in CMake
Docs:
* Add Connectivity category
* Link to the documentation page which gives a full example overview
Task-number: QTBUG-111972
Fixes: QTBUG-112194
Pick-to: 6.5 6.5.0
Change-Id: I6e50d1a3e9219afbf010d6471e8f7eb802c2ef00
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
Diffstat (limited to 'examples/bluetooth/heartrate-game/bluetoothbaseclass.h')
-rw-r--r-- | examples/bluetooth/heartrate-game/bluetoothbaseclass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/heartrate-game/bluetoothbaseclass.h b/examples/bluetooth/heartrate-game/bluetoothbaseclass.h index 42545686..2d25c546 100644 --- a/examples/bluetooth/heartrate-game/bluetoothbaseclass.h +++ b/examples/bluetooth/heartrate-game/bluetoothbaseclass.h @@ -4,7 +4,7 @@ #ifndef BLUETOOTHBASECLASS_H #define BLUETOOTHBASECLASS_H -#include <QObject> +#include <QtCore/qobject.h> class BluetoothBaseClass : public QObject { |