path: root/qmake
diff options
authorPaul Wicking <>2018-10-29 12:30:34 +0100
committerJani Heikkinen <>2018-11-02 12:40:59 +0000
commitafba8fcc4914b80be7733a059b26411bdde510eb (patch)
tree0c7771caba773fc2be377cc3e00be2bbd3426b83 /qmake
parent3fbf8fbc85143e713946ece3036b7303b8268f05 (diff)
Doc: Add description for mode argument of qmake's $$system()
Fixes: QTBUG-70926 Change-Id: Icfd13352cd64053c11502058188041ad16f6c287 Reviewed-by: Edward Welbourne <> Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'qmake')
1 files changed, 5 insertions, 0 deletions
diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc
index 0ded8b574a..1a779a94b4 100644
--- a/qmake/doc/src/qmake-manual.qdoc
+++ b/qmake/doc/src/qmake-manual.qdoc
@@ -3038,6 +3038,7 @@
\snippet code/ 59
+ \target qmake-cat
\section2 cat(filename[, mode])
Returns the contents of \c filename. You can specify the following options
@@ -3404,6 +3405,10 @@
\snippet code/ 72
+ Like \l {qmake-cat}{$$cat()}, the \a mode argument takes \c blob, \c lines,
+ \c true, and \false as value. However, the legacy word splitting rules
+ (i.e. empty or \c true, and \c false) differ subtly.
If you pass \c stsvar, the command's exit status will be stored in that
variable. If the command crashes, the status will be -1, otherwise a
non-negative exit code of the command's choosing. Usually, comparing