summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-01-05 17:01:18 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-08 20:02:15 +0000
commitad427c0db675c98639e921b55370040fb8e55855 (patch)
tree9b12509f1534d427ed1fdb4f0474e11436821332 /qmake
parent68fce30f7ca6847bd03c31a28eb0c0de7cf15a63 (diff)
Doc: Mention how to interrupt/continue qmake loops
Fixes: QTBUG-99559 Change-Id: Ib88bc0f93d7c0d6b9bf9a342410395f5a79675e5 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit 4545d7d6a6610119845df098fc8f0b9166961d6b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/doc/src/qmake-manual.qdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc
index 9d3d15b9c1..f51ed0efc2 100644
--- a/qmake/doc/src/qmake-manual.qdoc
+++ b/qmake/doc/src/qmake-manual.qdoc
@@ -4008,6 +4008,10 @@
\snippet code/doc_src_qmake-manual.pro 65
+ Loops can be interrupted with \c{break()}. The \c{next()} statement skips
+ the remainder of the loop's body and continues execution with the next
+ iteration.
+
\section2 greaterThan(variablename, value)
Tests that the value of \c variablename is greater than \c value. First,