diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-11-24 12:24:48 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-11-24 18:54:45 +0100 |
commit | 116c2115f84ec2f5f12b5d7680cd83ceeef72a6e (patch) | |
tree | 9e31e19c9eabe1d58181156a65efd474901ce92a /qmake/doc | |
parent | b7d4af3586f777a436302d81d77995b46f48be68 (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/doc')
-rw-r--r-- | qmake/doc/src/qmake-manual.qdoc | 5 |
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 |