diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2023-03-27 11:46:33 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-03-29 09:34:53 +0000 |
commit | 525a4ef1205af5fad6727a9c532481058f7c8003 (patch) | |
tree | 0001761dcdc57bf1f8d489e46927fda6778daa3e /examples/bluetooth/heartrate-game/qml/StatsLabel.qml | |
parent | a948901bbb6bf7303419bd7823d7294cb13efd7b (diff) | |
download | qtconnectivity-525a4ef1205af5fad6727a9c532481058f7c8003.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
Change-Id: I6e50d1a3e9219afbf010d6471e8f7eb802c2ef00
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
(cherry picked from commit a1f43b9dcd722527d52ceb0c7a138bd2994c1a7b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/bluetooth/heartrate-game/qml/StatsLabel.qml')
0 files changed, 0 insertions, 0 deletions