summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-11-24 12:24:48 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-11-24 20:24:46 +0000
commitdf834d020fd391725d6aa079f70076026f6a747f (patch)
tree3d987cc644d265baa94dd69b015d493fc6dc872c /qmake
parent218b92c9e5fb1beae0e293443c8b637464d502f3 (diff)
Doc: Fix documentation of qmake's exists() function
This function may take a wildcard expression, not a general regular expression. Change-Id: Ia7ba3bac47c310bc035620583b9d2102fdc5ffb0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> (cherry picked from commit 116c2115f84ec2f5f12b5d7680cd83ceeef72a6e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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 2782f7664e..8dfcded3cc 100644
--- a/qmake/doc/src/qmake-manual.qdoc
+++ b/qmake/doc/src/qmake-manual.qdoc
@@ -4087,8 +4087,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