Diffusion Ark 8f652a399d61

Fix plugin loading in plugins tests

Authored by elvisangelaccio on May 2 2016, 4:31 PM.

Description

Fix plugin loading in plugins tests

KPluginLoader will always find kerfuffle plugins in the system plugin path,
even if QT_PLUGIN_PATH is set to a custom location. This means that in the
plugins test, the loaded plugin will be the system one (because it comes later
in the list of plugins), possibly resulting in an invalid plugin factory and a skipped test.

This patch "gives higher priority" to the plugins found in $QT_PLUGIN_PATH,
ignoring the one in the system path and fixing this issue.

Details

Committed
elvisangelaccioMay 2 2016, 4:34 PM
Parents
R36:411e5f3876b4: GIT_SILENT Update HACKING file
Branches
Unknown
Tags
Unknown