From c9398312fefcbb8d519c73346fa9876c8c05a3d9 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Wed, 5 Jun 2013 15:48:20 +0200 Subject: 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 --- src/corelib/plugin/qfactoryloader.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/corelib/plugin/qfactoryloader.cpp') 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; -- cgit v1.2.3