summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Wolff <[email protected]>2024-07-01 13:52:40 +0200
committerOliver Wolff <[email protected]>2024-07-03 16:12:35 +0200
commit3b789ed01e1efead3538b7cdc08f456e55f1d882 (patch)
tree2b639a4af3865db568e9b9e372a48c7d232088ef
parent5d1ded3359ee8bffa33a4b83d5e72b855d61dcc2 (diff)
windeployqt: Fix typo in mkspec detection
When adding support for ARM64 hosts a typo sneaked into the mkspec detection. This typo broke deployment for mingw builds. This patch amends 81984807b30b1865a98fbd928a29d5ab6d8f5375 Pick-to: 6.8 6.7 Fixes: QTBUG-126775 Change-Id: I37ee3617dc6b92520250da3ff0665ce06cea1cb8 Reviewed-by: David Schulz <[email protected]> Reviewed-by: Wladimir Leuschner <[email protected]>
-rw-r--r--src/tools/windeployqt/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/windeployqt/main.cpp b/src/tools/windeployqt/main.cpp
index dca9132e15b..0115fb6023a 100644
--- a/src/tools/windeployqt/main.cpp
+++ b/src/tools/windeployqt/main.cpp
@@ -139,7 +139,7 @@ static Platform platformFromMkSpec(const QString &xSpec)
return WindowsDesktopClangMsvc;
if (xSpec.contains("arm"_L1))
return WindowsDesktopMsvcArm;
- if (xSpec.contains("G++"_L1))
+ if (xSpec.contains("g++"_L1))
return WindowsDesktopMinGW;
return WindowsDesktopMsvc;