Doc: Fix wrong markup in QStandardPaths::findExecutable
Pick-to: 6.6 Change-Id: Ia9b9752a7d73b8695f2be227d7fe78e6da927a2e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
parent
8e97af265d
commit
321718af88
@ -12,7 +12,7 @@
|
|||||||
//! [findExecutable]
|
//! [findExecutable]
|
||||||
|
|
||||||
Finds the executable named \a executableName in the specified
|
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
|
On most operating systems the system path is determined by the
|
||||||
\c PATH environment variable. The directories where to search for
|
\c PATH environment variable. The directories where to search for
|
||||||
@ -21,8 +21,8 @@
|
|||||||
twice, once with paths set and once with paths empty.
|
twice, once with paths set and once with paths empty.
|
||||||
Symlinks are not resolved in order to preserve behavior for the
|
Symlinks are not resolved in order to preserve behavior for the
|
||||||
case of executables whose behavior depends on the name they are
|
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
|
\note On Windows, the usual executable extensions (from the PATHEXT
|
||||||
environment variable) are automatically appended. For example, the
|
environment variable) are automatically appended. For example, the
|
||||||
findExecutable("foo") call finds \c foo.exe or \c foo.bat if
|
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
|
Returns the absolute file path to the executable, or an empty
|
||||||
string if not found.
|
string if not found.
|
||||||
|
|
||||||
If the given \n executableName is an absolute path pointing to
|
If the given \a executableName is an absolute path pointing to
|
||||||
an executable its clean path is returned.
|
an executable, its clean path is returned.
|
||||||
|
|
||||||
//! [findExecutable]
|
//! [findExecutable]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user