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 Change-Id: I0d97905c59281a03ef2126ae1c436f1034e1575d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> (cherry picked from commit 2a732020ff58b6a779e0b374af5f8cd0f6e22459) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
1d1fd94a99
commit
4642a6706d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user