From 3fd55ef09b12e6c0aed6c84b4e0ced6b4e0b6838 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint <Friedemann.Kleint@nokia.com> Date: Tue, 31 Jan 2012 16:25:27 +0100 Subject: [PATCH] Compile fix. Change-Id: I6d6007dc9578acae62c1d41a07164a917e879cd5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> --- src/plugins/projectexplorer/gcctoolchain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/projectexplorer/gcctoolchain.cpp b/src/plugins/projectexplorer/gcctoolchain.cpp index ed07c7e018e..a1e76ffacba 100644 --- a/src/plugins/projectexplorer/gcctoolchain.cpp +++ b/src/plugins/projectexplorer/gcctoolchain.cpp @@ -293,7 +293,7 @@ GccToolChain::GccToolChain(const QString &id, bool autodetect) : GccToolChain::GccToolChain(const GccToolChain &tc) : ToolChain(tc), m_predefinedMacros(tc.predefinedMacros()), - m_compilerCommand(tc.compilerPath()), + m_compilerPath(tc.compilerCommand()), m_debuggerCommand(tc.debuggerCommand()), m_targetAbi(tc.m_targetAbi), m_supportedAbis(tc.m_supportedAbis), @@ -465,7 +465,7 @@ void GccToolChain::setCompilerCommand(const Utils::FileName &path) m_compilerPath = path; Abi currentAbi = m_targetAbi; - m_supportedAbis = findAbiForCompilerPath(m_compilerPath); + m_supportedAbis = findAbiForCompilerPath(m_compilerPath.toString()); m_targetAbi = Abi(); if (!m_supportedAbis.isEmpty()) { -- GitLab