diff options
author | Timothée Keller <timothee.keller@qt.io> | 2023-07-05 11:38:11 +0200 |
---|---|---|
committer | Timothée Keller <timothee.keller@qt.io> | 2023-07-12 11:24:30 +0200 |
commit | 87bfd3308209c3f859d116c024de1d2c35bf18b3 (patch) | |
tree | ce87b7193ab24a3c0bc949d8364e4efe6f2f8e0b /src/tools/windeployqt/main.cpp | |
parent | 70fc6b4581f9df59cf05c158e60d0343b69c2d57 (diff) |
Windeployqt: also add internal modules to module list
Not adding internal modules to the windeployqt module list makes it
give off nonsensical warnings, and can force the deployment of debug
libraries despite a --release tag. Add them in to prevent this, and
shave off the "Private" part of the module name if it exists to maintain
compatibility.
Fixes: QTBUG-114854
Pick-to: 6.6 6.5
Change-Id: I884fdc495f340ad20ba6257587da170d6c1a1415
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/tools/windeployqt/main.cpp')
-rw-r--r-- | src/tools/windeployqt/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/windeployqt/main.cpp b/src/tools/windeployqt/main.cpp index 2db166d54e..feb4b90979 100644 --- a/src/tools/windeployqt/main.cpp +++ b/src/tools/windeployqt/main.cpp @@ -107,6 +107,8 @@ static QByteArray formatQtModules(const ModuleBitset &mask, bool option = false) result.append(option ? moduleNameToOptionName(qtModule.name).toUtf8() : qtModule.name.toUtf8()); + if (qtModule.internal) + result.append("Internal"); } } return result; |