From 5e8048f96697ac28d9aa22fdcaa01e6bc9caec56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Keller?= Date: Mon, 21 Nov 2022 12:38:15 +0100 Subject: [PATCH] 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 (cherry picked from commit 58861f78c0822f74744a3285abeb785219b8f96c) Reviewed-by: Qt Cherry-pick Bot --- src/tools/windeployqt/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/windeployqt/main.cpp b/src/tools/windeployqt/main.cpp index 78271da4bb5..ad84307cf05 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;