summaryrefslogtreecommitdiffstats
path: root/qmake/doc
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-01-05 17:01:18 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2022-01-08 18:08:08 +0100
commit4545d7d6a6610119845df098fc8f0b9166961d6b (patch)
treecbc84d803accb2cb9c97877d203a2ec730a763a1 /qmake/doc
parentae49252dbcc21de1dccee03c54a8e0986c5a0acc (diff)
Doc: Mention how to interrupt/continue qmake loops
Fixes: QTBUG-99559 Pick-to: 6.3 Change-Id: Ib88bc0f93d7c0d6b9bf9a342410395f5a79675e5 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'qmake/doc')
-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,