summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-11-24 12:24:48 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-11-24 18:54:45 +0100
commit116c2115f84ec2f5f12b5d7680cd83ceeef72a6e (patch)
tree9e31e19c9eabe1d58181156a65efd474901ce92a /qmake
parentb7d4af3586f777a436302d81d77995b46f48be68 (diff)
Doc: Fix documentation of qmake's exists() function
This function may take a wildcard expression, not a general regular expression. Pick-to: 5.15 Change-Id: Ia7ba3bac47c310bc035620583b9d2102fdc5ffb0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/doc/src/qmake-manual.qdoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc
index e04c0895fe..868ead30f2 100644
--- a/qmake/doc/src/qmake-manual.qdoc
+++ b/qmake/doc/src/qmake-manual.qdoc
@@ -3970,8 +3970,9 @@
Tests whether a file with the given \c filename exists.
If the file exists, the function succeeds; otherwise it fails.
- If a regular expression is specified for the filename, this function
- succeeds if any file matches the regular expression specified.
+
+ The \c filename argument may contain wildcards.
+ In that case, this function succeeds if any file matches.
For example:
\snippet code/doc_src_qmake-manual.pro 63