summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-02-17 08:48:05 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-17 08:52:03 +0100
commit71bad3e8180297351b143271856b4b6732169f39 (patch)
tree94752b96ae96eafd2f5f1dfbc59b7b89899907ad
parentc11f0dfae1267008bc6e6414911de3406e0ee916 (diff)
Plugin loader: Output offending plugin name in warning.
Change-Id: I0aba0cf04f703b893459af55263685c5548a92f9 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
-rw-r--r--src/corelib/plugin/qfactoryloader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/plugin/qfactoryloader.cpp b/src/corelib/plugin/qfactoryloader.cpp
index 2d31e1da7e..566ece77c9 100644
--- a/src/corelib/plugin/qfactoryloader.cpp
+++ b/src/corelib/plugin/qfactoryloader.cpp
@@ -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;