Commit ecacea18 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Tobias Hunger
Browse files

QmakePM: Fix toolchain executable comparison



Change-Id: I8fef9cb990be561cc822b33e772715895bbca6ca
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent b0117cdf
......@@ -1309,7 +1309,7 @@ void QmakeProject::testToolChain(ToolChain *tc, const Utils::FileName &path) con
t->kit()->addToEnvironment(env);
}
if (env.isSameExecutable(path.toString(), expected.toString())) {
if (!env.isSameExecutable(path.toString(), expected.toString())) {
const QPair<Utils::FileName, Utils::FileName> pair = qMakePair(expected, path);
if (!m_toolChainWarnings.contains(pair)) {
TaskHub::addTask(Task(Task::Warning,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment