summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate-game/doc/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-08-12 11:27:26 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-08-15 13:32:02 +0000
commit5bacb0fb97819dd337b450456536592ee7b684eb (patch)
tree53069a66bf46a637c1d4e5d3f19478bece9c88b2 /examples/bluetooth/heartrate-game/doc/src
parentc7cdadd88414e1de22bd1aa5b1748c2eef5bfa27 (diff)
Bluetooth heartrate-game example: Make simulation switcheable by command line arguments
Introduce QCommandLineParser for simulation and verbosity settings. Change-Id: I00d01d2fa73db311944a2df68c6b116f0a31811b Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit f2d0f8709d17afac1d7d15ee746397eb17e948f9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/bluetooth/heartrate-game/doc/src')
-rw-r--r--examples/bluetooth/heartrate-game/doc/src/heartrate-game.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bluetooth/heartrate-game/doc/src/heartrate-game.qdoc b/examples/bluetooth/heartrate-game/doc/src/heartrate-game.qdoc
index 759fe7e9..aa9487c7 100644
--- a/examples/bluetooth/heartrate-game/doc/src/heartrate-game.qdoc
+++ b/examples/bluetooth/heartrate-game/doc/src/heartrate-game.qdoc
@@ -29,8 +29,8 @@
Bluetooth Low Energy device which might simulate the service. You can also use the
\l {heartrate-server} {Heart Rate server} example for that purpose.
If no such device is available, a demo mode is available which creates and displays
- random values. This demo mode is enabled by defining USE_SIMULATOR in
- heartrate-global.h.
+ random values. This demo mode is enabled by passing --simulator on the
+ command line.
The goal of the game is to increase the measured heart rate as much as possible.