From 24f26ca9bbcf72a7e0c8dbd52001540e4f1bd034 Mon Sep 17 00:00:00 2001 From: Oliver Wolff Date: Mon, 1 Jul 2024 13:52:40 +0200 Subject: [PATCH] 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.7 Fixes: QTBUG-126775 Change-Id: I37ee3617dc6b92520250da3ff0665ce06cea1cb8 Reviewed-by: David Schulz Reviewed-by: Wladimir Leuschner (cherry picked from commit 3b789ed01e1efead3538b7cdc08f456e55f1d882) Reviewed-by: Qt Cherry-pick Bot --- src/tools/windeployqt/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;