From f120933e53970ee425cfa5ce621b29c435a1000e Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Mon, 11 Jan 2021 13:42:52 +0100 Subject: Doc: Clarify setLibraryPaths behavior MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: QTBUG-89130 Change-Id: Id8460fd00dcfdcca174d523f8d97baef1a764f6f Reviewed-by: Topi Reiniƶ (cherry picked from commit efa5a699729c6ff9f9d7991d12ed70139e3be669) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/kernel/qcoreapplication.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/corelib/kernel') 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. -- cgit v1.2.3