diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2015-07-27 11:49:55 +0200 |
---|---|---|
committer | Milian Wolff <milian.wolff@kdab.com> | 2015-08-11 14:33:20 +0000 |
commit | 6129be8a4ba976c42e51012ebaa9005eb402db80 (patch) | |
tree | d18bf2f588f998a73d8f48cc64aed264579c631e /src/network/kernel/qhostinfo_unix.cpp | |
parent | dc3dd4f634f31ce695033580394758f93911120d (diff) |
Prefer QT_PLUGIN_PATH over compiled-in paths.
Currently, when one compiles a Qt plugin that is also installed
system wide to a local path added to QT_PLUGIN_PATH, you have no
way to ever load it as the global plugin will always be preferred.
This is due to the order in which the QCoreApplications::libraryPaths
are constructed, which always appended the QT_PLUGIN_PATH contents
to the end.
Now, the QT_PLUGIN_PATH contents are put first, such that the plugins
in there are preferred and loaded.
[ChangeLog][QtCore][QPluginLoader] Fixed the search order of Qt plugins
so that paths specified by the QT_PLUGIN_PATH environment variable
are searched before built-in paths.
Change-Id: Iad8ca2cd34e7a622c191a416c01c1c5cc1812fc9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/network/kernel/qhostinfo_unix.cpp')
0 files changed, 0 insertions, 0 deletions