Doc: Clarify setLibraryPaths behavior

Fixes: QTBUG-89130
Pick-to: 6.0 5.15
Change-Id: Id8460fd00dcfdcca174d523f8d97baef1a764f6f
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Paul Wicking 2021-01-11 13:42:52 +01:00
parent 257edbfa53
commit efa5a69972

View File

@ -2737,9 +2737,10 @@ QStringList QCoreApplication::libraryPathsLocked()
/*!
Sets the list of directories to search when loading libraries to
\a paths. All existing paths will be deleted and the path list
will consist of the paths given in \a paths.
Sets the list of directories to search when loading plugins with
QLibrary to \a paths. All existing paths will be deleted and the
path list will consist of the paths given in \a paths and the path
to the application.
The library paths are reset to the default when an instance of
QCoreApplication is destructed.