From 063234c1790bc0ca7502eddb742279c7d2460582 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 10 Jan 2024 14:51:30 +0100 Subject: [PATCH] ProjectExplorer: Fix CustomToolChain::operator== We need to take the compiler command into account. Fixes: QTCREATORBUG-30133 Change-Id: I5f120d4b3e41cbeeae255a2566332389d3eba508 Reviewed-by: hjk --- src/plugins/projectexplorer/customtoolchain.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp index f2ec50ed54a..5c8ac1e80cb 100644 --- a/src/plugins/projectexplorer/customtoolchain.cpp +++ b/src/plugins/projectexplorer/customtoolchain.cpp @@ -305,6 +305,7 @@ bool CustomToolChain::operator ==(const ToolChain &other) const auto customTc = static_cast(&other); return m_makeCommand == customTc->m_makeCommand + && compilerCommand() == customTc->compilerCommand() && targetAbi() == customTc->targetAbi() && m_predefinedMacros == customTc->m_predefinedMacros && m_builtInHeaderPaths == customTc->m_builtInHeaderPaths;