summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2021-01-11 13:42:52 +0100
committerPaul Wicking <paul.wicking@qt.io>2021-01-15 15:14:31 +0100
commitefa5a699729c6ff9f9d7991d12ed70139e3be669 (patch)
treeaff1f186e8d08b8db1ab5a7113400cf4d827ce04
parent257edbfa5363a3d35e66d342ae43e5994b297f97 (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.cpp7
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.