summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-06-05 15:48:20 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-05 20:16:07 +0200
commitc9398312fefcbb8d519c73346fa9876c8c05a3d9 (patch)
treeed8427a7e7e8ef251fdb5d0a281683dff8295e24 /src/corelib
parent2dd7f02bb9ac79851810e5d5ed4aa9f655bab8e0 (diff)
Print directories for QT_DEBUG_PLUGINS
So far we stayed completely silent if the user forgot to deploy all plugins, or deployed them in the wrong way. Change-Id: Idd776c4b4a2ddffd5da08985e5925248c97e0270 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/plugin/qfactoryloader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/plugin/qfactoryloader.cpp b/src/corelib/plugin/qfactoryloader.cpp
index 289fda7afc..61c9b40e83 100644
--- a/src/corelib/plugin/qfactoryloader.cpp
+++ b/src/corelib/plugin/qfactoryloader.cpp
@@ -121,6 +121,10 @@ void QFactoryLoader::update()
d->loadedPaths << pluginDir;
QString path = pluginDir + d->suffix;
+
+ if (qt_debug_component())
+ qDebug() << "QFactoryLoader::QFactoryLoader() checking directory path" << path << "...";
+
if (!QDir(path).exists(QLatin1String(".")))
continue;