summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2023-11-27 13:30:13 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-12-01 07:00:04 +0000
commitf735ac936a60f44322f798e9840db47454223d4a (patch)
treec264476b137067e1355f52866846c6d63fc17bb1 /doc
parentd84133fac8ceeb90a010642ffbda503cde53438a (diff)
Doc: Fix wrong markup in QStandardPaths::findExecutable
Change-Id: Ia9b9752a7d73b8695f2be227d7fe78e6da927a2e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> (cherry picked from commit 321718af88a1a3fd31e0a2d90b1c964f575cde49) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/global/includes/standardpath/functiondocs.qdocinc10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/global/includes/standardpath/functiondocs.qdocinc b/doc/global/includes/standardpath/functiondocs.qdocinc
index c0f4763b90..23f2550b54 100644
--- a/doc/global/includes/standardpath/functiondocs.qdocinc
+++ b/doc/global/includes/standardpath/functiondocs.qdocinc
@@ -12,7 +12,7 @@
//! [findExecutable]
Finds the executable named \a executableName in the specified
- \a paths, or the system paths if paths is empty.
+ \a paths, or the system paths if \a paths is empty.
On most operating systems the system path is determined by the
\c PATH environment variable. The directories where to search for
@@ -21,8 +21,8 @@
twice, once with paths set and once with paths empty.
Symlinks are not resolved in order to preserve behavior for the
case of executables whose behavior depends on the name they are
- invoked with
- .
+ invoked with.
+
\note On Windows, the usual executable extensions (from the PATHEXT
environment variable) are automatically appended. For example, the
findExecutable("foo") call finds \c foo.exe or \c foo.bat if
@@ -31,8 +31,8 @@
Returns the absolute file path to the executable, or an empty
string if not found.
- If the given \n executableName is an absolute path pointing to
- an executable its clean path is returned.
+ If the given \a executableName is an absolute path pointing to
+ an executable, its clean path is returned.
//! [findExecutable]