Doc: Clarify setLibraryPaths behavior

Fixes: QTBUG-89130
Change-Id: Id8460fd00dcfdcca174d523f8d97baef1a764f6f
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
(cherry picked from commit efa5a699729c6ff9f9d7991d12ed70139e3be669)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Paul Wicking 2021-01-11 13:42:52 +01:00 committed by Qt Cherry-pick Bot
parent 93e4f88204
commit f120933e53

View File

@ -2730,9 +2730,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.