summaryrefslogtreecommitdiffstats
path: root/src/tools/windeployqt/main.cpp
diff options
context:
space:
mode:
authorTimothée Keller <timothee.keller@qt.io>2022-12-12 16:35:10 +0100
committerTimothée Keller <timothee.keller@qt.io>2023-01-11 13:02:58 +0100
commit2a732020ff58b6a779e0b374af5f8cd0f6e22459 (patch)
treeab8b421619ad2b8e92f0a612233784c12aecf471 /src/tools/windeployqt/main.cpp
parent22e96ca50d5f731fa7a152b934044f0637676429 (diff)
Windeployqt: change qml import handling
Made it so that qml dependencies will be imported for all invoked binaries, rather than just the first one. Task-number: QTBUG-99125 Pick-to: 6.4 Change-Id: I0d97905c59281a03ef2126ae1c436f1034e1575d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/tools/windeployqt/main.cpp')
-rw-r--r--src/tools/windeployqt/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/windeployqt/main.cpp b/src/tools/windeployqt/main.cpp
index 3d99188063..c038a9679f 100644
--- a/src/tools/windeployqt/main.cpp
+++ b/src/tools/windeployqt/main.cpp
@@ -1358,7 +1358,7 @@ static DeployResult deploy(const Options &options, const QMap<QString, QString>
// Determine application type, check Quick2 is used by looking at the
// direct dependencies (do not be fooled by QtWebKit depending on it).
QString qtLibInfix;
- for (int m = 0; m < directDependencyCount; ++m) {
+ for (int m = 0; m < dependentQtLibs.size(); ++m) {
const quint64 module = qtModule(dependentQtLibs.at(m), infix);
result.directlyUsedQtLibraries[module] = 1;
if (module == QtCoreModule)