ToolChain: Create toolchains for different languages

Enable creation of toolchains for different languages and wire
up the logic in the ToolChain Options Page.

Change-Id: I9fbd95607d30cc1aa10f73d6532338f07f3e2b4e
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2016-07-12 15:08:53 +02:00
parent c071f68942
commit ce9ca1f0ef
9 changed files with 53 additions and 40 deletions

View File

@@ -185,9 +185,9 @@ bool QnxToolChainFactory::canCreate()
return true;
}
ToolChain *QnxToolChainFactory::create()
ToolChain *QnxToolChainFactory::create(ToolChain::Language l)
{
return new QnxToolChain(ToolChain::ManualDetection);
return new QnxToolChain(l, ToolChain::ManualDetection);
}
//---------------------------------------------------------------------------------