Plugin loader: Output offending plugin name in warning.

Change-Id: I0aba0cf04f703b893459af55263685c5548a92f9
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
Friedemann Kleint 2012-02-17 08:48:05 +01:00 committed by Qt by Nokia
parent c11f0dfae1
commit 71bad3e818

View 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;