Windeployqt: adjust bitset change for scaling

Replaced the ullong with Modulebitsets for when the number of modules
exceeds 64

Change-Id: I489d35bc53d6aacf7907f75957bd8c6d21fbeb60
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
(cherry picked from commit 58861f78c0822f74744a3285abeb785219b8f96c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Timothée Keller 2022-11-21 12:38:15 +01:00 committed by Qt Cherry-pick Bot
parent 89725106ed
commit 5e8048f966

View File

@ -695,7 +695,8 @@ static inline QString helpText(const QCommandLineParser &p)
QString moduleHelp =
"\n\nQt libraries can be added by passing their name (-xml) or removed by passing\n"
"the name prepended by --no- (--no-xml). Available libraries:\n"_L1;
moduleHelp += lineBreak(QString::fromLatin1(formatQtModules(0xFFFFFFFFFFFFFFFFull, true)));
ModuleBitset mask;
moduleHelp += lineBreak(QString::fromLatin1(formatQtModules(mask.set(), true)));
moduleHelp += u'\n';
result.replace(moduleStart, argumentsStart - moduleStart, moduleHelp);
return result;