summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorTimothée Keller <timothee.keller@qt.io>2023-10-10 16:07:50 +0200
committerTimothée Keller <timothee.keller@qt.io>2024-01-15 14:32:51 +0000
commit40cff9e93c36edcab49c08fa65760c22dc935992 (patch)
treee26a74f38da338d09472c1d5a5f57d691a546c88 /src/tools
parentedff6a33a1e3757b9bb4831091a3db8fa99e3219 (diff)
Windeployqt: add output for determining plugin/module relation
Windeployqt has a pull all in approach to plugins. This can require some modules to be deployed despite being unrelated to the application's dependencies. An output is added to provide information to better reflect what windeployqt is doing in this regard. Task-number: QTBUG-117910 Pick-to: 6.7 6.6 6.5 Change-Id: Iabf89e0faca862a90c0fcd46e5675dd43655be1d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/windeployqt/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/windeployqt/main.cpp b/src/tools/windeployqt/main.cpp
index d10849c4fb..cb3a1bc2a1 100644
--- a/src/tools/windeployqt/main.cpp
+++ b/src/tools/windeployqt/main.cpp
@@ -1008,7 +1008,7 @@ static QString deployPlugin(const QString &plugin, const QDir &subDir, const boo
*usedQtModules |= missingModules;
if (optVerboseLevel) {
std::wcout << "Adding " << formatQtModules(missingModules).constData()
- << " for " << plugin << '\n';
+ << " for " << plugin << " from plugin type: " << subDirName << '\n';
}
}
return pluginPath;
@@ -1051,7 +1051,7 @@ QStringList findQtPlugins(ModuleBitset *usedQtModules, const ModuleBitset &disab
? MatchDebugOrRelease // QTBUG-44331: Debug detection does not work for webengine, deploy all.
: debugMatchModeIn;
QDir subDir(subDirFi.absoluteFilePath());
-
+ std::wcout << "Adding in plugin type " << subDirFi.baseName() << " for module: " << qtModuleEntries.moduleById(module).name << '\n';
// Filter for platform or any.
QString filter;
const bool isPlatformPlugin = subDirName == "platforms"_L1;