diff --git a/src/plugins/PluginManager.cpp b/src/plugins/PluginManager.cpp index ce1836db..b4e2759d 100644 --- a/src/plugins/PluginManager.cpp +++ b/src/plugins/PluginManager.cpp @@ -125,6 +125,10 @@ void PluginManager::loadNativePlugins(const QDir &directory) QPluginLoader pluginLoader(directory.absoluteFilePath(fileName)); QObject *plugin = pluginLoader.instance(); if (!plugin) { + auto errorString = pluginLoader.errorString(); + if (!errorString.isEmpty()) { + qWarning() << "Load Error for plugin" << fileName << ":" << errorString; + } continue; } CutterPlugin *cutterPlugin = qobject_cast(plugin);