diff options
author | Kai Köhne <kai.koehne@qt.io> | 2023-06-30 15:54:49 +0200 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2023-07-27 18:02:06 +0200 |
commit | ea0b7dafb287ed3d044b574fb7671346bca087e4 (patch) | |
tree | cdaedcd5892dda8edd68d03cca46497ae47a9288 | |
parent | 4693c812684a08b2e34dfcfc76ddd6f58bfc8acb (diff) |
Doc: Generalize statement about QLibrary::unload() and macOS
We dropped support for macOS 10.3 in Qt 4.6, 14 years ago.
But the logic to only 'fake' the unloading on Q_OS_DARWIN
remains. Also, add a statement explaining the behavior
in more detail.
Pick-to: 6.5 6.6
Change-Id: I62ec7df7c4b807f84c96619f78b3cef704c51335
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
-rw-r--r-- | src/corelib/plugin/qlibrary.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/plugin/qlibrary.cpp b/src/corelib/plugin/qlibrary.cpp index ca5b6a03f1..1f6d3e9019 100644 --- a/src/corelib/plugin/qlibrary.cpp +++ b/src/corelib/plugin/qlibrary.cpp @@ -827,7 +827,9 @@ bool QLibrary::load() call will fail, and unloading will only happen when every instance has called unload(). - Note that on Mac OS X 10.3 (Panther), dynamic libraries cannot be unloaded. + Note that on \macos, dynamic libraries cannot be unloaded. + QLibrary::unload() will return \c true, but the library will remain + loaded into the process. \sa resolve(), load() */ |