From 116c2115f84ec2f5f12b5d7680cd83ceeef72a6e Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Tue, 24 Nov 2020 12:24:48 +0100 Subject: [PATCH] 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 --- qmake/doc/src/qmake-manual.qdoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc index e04c0895fe3..868ead30f26 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