diff options
author | Paul Wicking <paul.wicking@qt.io> | 2021-01-11 13:42:52 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-01-19 12:36:42 +0000 |
commit | f120933e53970ee425cfa5ce621b29c435a1000e (patch) | |
tree | b9d6241e6d941d1c1a7cb7278ceeddc3707342c8 /src/corelib | |
parent | 93e4f88204e604d9196c99c297b081e3f61b7a1c (diff) |
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>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/kernel/qcoreapplication.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp index ec8a2dc286..67cc56449a 100644 --- a/src/corelib/kernel/qcoreapplication.cpp +++ b/src/corelib/kernel/qcoreapplication.cpp @@ -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. |