summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorTimothée Keller <timothee.keller@qt.io>2022-11-21 12:38:15 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-12-05 12:15:07 +0000
commit5e8048f96697ac28d9aa22fdcaa01e6bc9caec56 (patch)
treee287be8ba2567b5a9626f726404a09872347c663 /src/tools
parent89725106ed8b0f0991adacdf0189523f89cec02b (diff)
downloadqtbase-5e8048f96697ac28d9aa22fdcaa01e6bc9caec56.tar.gz
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>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/windeployqt/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/windeployqt/main.cpp b/src/tools/windeployqt/main.cpp
index 78271da4bb..ad84307cf0 100644
--- a/src/tools/windeployqt/main.cpp
+++ b/src/tools/windeployqt/main.cpp
@@ -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;