Commit 3cc8f2f9 authored by dt's avatar dt
Browse files

Fix check for g++

parent d1220f31
...@@ -1377,7 +1377,7 @@ void QtVersion::updateToolChainAndMkspec() const ...@@ -1377,7 +1377,7 @@ void QtVersion::updateToolChainAndMkspec() const
m_toolChains << ToolChainPtr( m_toolChains << ToolChainPtr(
ProjectExplorer::ToolChain::createMinGWToolChain(qmakeCXX, mingwDirectory())); ProjectExplorer::ToolChain::createMinGWToolChain(qmakeCXX, mingwDirectory()));
m_targetIds.insert(QLatin1String(Constants::DESKTOP_TARGET_ID)); m_targetIds.insert(QLatin1String(Constants::DESKTOP_TARGET_ID));
} else if (qmakeCXX.endsWith("g++")) { // All g++ variants are treated as desktop g++ } else if (qmakeCXX.contains("g++")) { // All g++ variants are treated as desktop g++
// we should try to do a better job, but for now that's good enough // we should try to do a better job, but for now that's good enough
ProjectExplorer::Environment env = ProjectExplorer::Environment::systemEnvironment(); ProjectExplorer::Environment env = ProjectExplorer::Environment::systemEnvironment();
//addToEnvironment(env); //addToEnvironment(env);
......
Supports Markdown
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