Skip to content

Improve error message for KPluginFactory::loadFactory

Alexander Lohnau requested to merge work/better_kpluginmetadata_erroressage into master

In case we try to load a plugin by the path and it does not exist, QPluginLoader::fileName returns an empty string. In case we want to log the error an empty string is not useful, instead we want to know what file was originally requested.

@ahmadsamir @nicolasfella

cc @cblack Since we talked about the plugin system stuff in kiss and the issue which is fixed by this MR caused confusion.

Merge request reports

Loading