Plugin loader: Output offending plugin name in warning.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Fri, 17 Feb 2012 07:48:05 +0000 (08:48 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 17 Feb 2012 07:52:03 +0000 (08:52 +0100)
Change-Id: I0aba0cf04f703b893459af55263685c5548a92f9
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/corelib/plugin/qfactoryloader.cpp

index 2d31e1d..566ece7 100644 (file)
@@ -142,7 +142,8 @@ void QFactoryLoader::update()
             }
             QStringList keys;
             if (library->compatPlugin) {
-                qWarning() << "Compat plugin, need to load for accessing meta data";
+                qWarning("Qt plugin loader: Compatibility plugin '%s', need to load for accessing meta data.",
+                         qPrintable(QDir::toNativeSeparators(fileName)));
                 if (!library->loadPlugin()) {
                     if (qt_debug_component()) {
                         qDebug() << library->errorString;