katie/src/core
Ivailo Monev 03e46bb6d4 fix loading of plugins with a relative file name
the libraries path was missing from the list returned by
QCoreApplication::libraryPaths() which as stated in its documentation
is used when dynamically loading libraries so that's also fixed with this
change and is required for the libraries lookup.

obviously, QLibraryPrivate::findOrCreate() was not looking for libraries at
all despite the function name so code for that had to be moved from
QLibraryPrivate::load_sys() which makes it possible to load not only plugins
but also library with relative file name.

support for QLibrary::LoadHint::LoadArchiveMemberHint was dropped in the
process, QLibrary::LoadHint::ImprovedSearchHeuristics is not used thus
removed.

in the future QCoreApplication::pluginPaths() may be added to separate the
library/plugin paths but for now compatibility with projects expecting it
to return plugin paths will be kept. when that is done
QCoreApplication::libraryPaths() will check LD_LIBRARY_PATH instead of
QT_PLUGIN_PATH environment variable.

upstream commit:
418890e074

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-22 20:06:09 +00:00
..
codecs Revert "set invalid characters count of state even on success from QIcuCodec::convertFromUnicode() and QIcuCodec::convertToUnicode()" 2020-02-08 00:29:26 +00:00
concurrent replace 0 with Q_NULLPTR in QThreadPoolThread and QThreadPoolPrivate 2020-01-11 01:48:28 +00:00
global prefix standard function calls in qt_print_backtrace() 2020-02-15 19:43:05 +00:00
io remove redundant condition in QFileInfoPrivate::getFileName() 2020-02-22 18:44:17 +00:00
json replace some tabs with space 2020-01-22 15:57:56 +00:00
kernel fix loading of plugins with a relative file name 2020-02-22 20:06:09 +00:00
plugin fix loading of plugins with a relative file name 2020-02-22 20:06:09 +00:00
thread replace 0 with Q_NULLPTR where applicable 2020-02-13 20:05:09 +00:00
tools inline qstrcmp() function for performance reasons 2020-02-20 02:37:28 +00:00
CMakeLists.txt remove unused qFastSin() and qFastCos() functions 2020-01-10 14:57:22 +00:00
qcorecommon_p.h include time header for tzset() in qcorecommon_p header 2020-01-14 19:43:08 +00:00