Commit b7f35afc authored by David Faure's avatar David Faure

Improve error message when serializer plugin can't be loaded.

Just "shared library not found" means nothing with the name of the
plugin that we're trying to load.
parent 50fa0de5
......@@ -90,7 +90,7 @@ QObject *PluginLoader::createForName(const QString &name)
if (!info.loaded) {
QPluginLoader *loader = new QPluginLoader(info.library);
if (loader->fileName().isEmpty()) {
qCWarning(AKONADICORE_LOG) << loader->errorString();
qCWarning(AKONADICORE_LOG) << "Error loading" << info.library << ":" << loader->errorString();
delete loader;
return nullptr;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment