forked from qt-creator/qt-creator
Utils: FilePathify Environment::{ap,pre}pendOrSetPath etc
Change-Id: Idfa5ec247337570936b0236cab9d3a5669792ca0 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -64,10 +64,8 @@ static void addRegisteredMinGWToEnvironment(Environment &env)
|
||||
const ToolChain *toolChain = ToolChainManager::toolChain([](const ToolChain *t){
|
||||
return t->typeId() == ProjectExplorer::Constants::MINGW_TOOLCHAIN_TYPEID;
|
||||
});
|
||||
if (toolChain) {
|
||||
const QString mingwPath = toolChain->compilerCommand().parentDir().toUserOutput();
|
||||
env.appendOrSetPath(mingwPath);
|
||||
}
|
||||
if (toolChain)
|
||||
env.appendOrSetPath(toolChain->compilerCommand().parentDir());
|
||||
}
|
||||
|
||||
void WebAssemblyToolChain::addToEnvironment(Environment &env) const
|
||||
|
||||
Reference in New Issue
Block a user