qt5base-lts/tests/auto/corelib/plugin/qlibrary
Thiago Macieira ef92ac5636 QLibrary: stop setting errorString after resolve()
resolve() is technically thread-safe if the library has been loadaed. We
don't promise that, but it's there. More importantly, because
QLibraryPrivate is shared among QPluginLoader and QLibrary that point to
the same file, we can't thread-safely set the error string.

[ChangeLog][Important Behavior Changes] QLibrary::resolve() will no
longer set or clear the error string based on the success of finding the
symbol. The error string will reflect the result of loading the library.

Change-Id: I46bf1f65e8db46afbde5fffd15e1a4f4c2713c17
Reviewed-by: David Faure <david.faure@kdab.com>
2020-03-03 14:36:30 -08:00
..
lib Disable debug-and-release builds for MinGW 2019-09-18 06:28:16 +00:00
lib2 Disable debug-and-release builds for MinGW 2019-09-18 06:28:16 +00:00
library_path Moving relevant tests to corelib/plugin 2011-09-01 12:42:51 +02:00
tst Disable debug-and-release builds for MinGW 2019-09-18 06:28:16 +00:00
.gitignore Remove mention of Trolltech in qlibrary autotest. 2011-12-28 04:48:06 +01:00
qlibrary.pro tst_QLibrary: Ensure installation order of testdata libs 2018-03-02 07:20:04 +00:00
tst_qlibrary.cpp QLibrary: stop setting errorString after resolve() 2020-03-03 14:36:30 -08:00