diff --git a/core/document.cpp b/core/document.cpp index 79684691e..0e4064508 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -465,6 +465,7 @@ Generator * Document::Private::loadGeneratorLibrary( const QString& name, const if ( !lib ) { kWarning() << "Could not load '" << libname << "' library." << endl; + kWarning() << KLibLoader::self()->lastErrorMessage() << endl; emit m_parent->error( i18n( "Could not load the necessary plugin to view the document" ), -1 ); return 0; }