Skip to content

Commit

Permalink
Doc: Clarify setLibraryPaths behavior
Browse files Browse the repository at this point in the history
Fixes: QTBUG-89130
Pick-to: 6.0 5.15
Change-Id: Id8460fd00dcfdcca174d523f8d97baef1a764f6f
Reviewed-by: Topi Reiniö <[email protected]>
  • Loading branch information
paulwicking committed Jan 15, 2021
1 parent 257edbf commit efa5a69
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/corelib/kernel/qcoreapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit efa5a69

Please sign in to comment.