diff options
author | Paul Wicking <paul.wicking@qt.io> | 2021-01-11 13:42:52 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2021-01-15 15:14:31 +0100 |
commit | efa5a699729c6ff9f9d7991d12ed70139e3be669 (patch) | |
tree | aff1f186e8d08b8db1ab5a7113400cf4d827ce04 | |
parent | 257edbfa5363a3d35e66d342ae43e5994b297f97 (diff) |
Doc: Clarify setLibraryPaths behavior
Fixes: QTBUG-89130
Pick-to: 6.0 5.15
Change-Id: Id8460fd00dcfdcca174d523f8d97baef1a764f6f
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-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 8dc57c3a19..d9a74c2828 100644 --- a/src/corelib/kernel/qcoreapplication.cpp +++ b/src/corelib/kernel/qcoreapplication.cpp @@ -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. |