forked from qt-creator/qt-creator
ProjectExplorer: Merge GccToolChainFactories further
This replaces the four classes from the GccToolChainFactories hierarchy by a single (parametrized) GccToolChainFactory, but makes the "RealGcc" one responsible for all autodetection. This is a hack to move closer to a "scan only once" setup, and temporarily necessary as there is currently one factory creates one type of toolchain, so we need four factories for the current four gcc-ish toolchain types. Change-Id: Icbecb1be6e89cf5efad76baf92ef38ac63be074f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -671,8 +671,7 @@ void ToolChainFactory::setSupportsAllLanguages(bool supportsAllLanguages)
|
||||
m_supportsAllLanguages = supportsAllLanguages;
|
||||
}
|
||||
|
||||
void ToolChainFactory::setToolchainConstructor
|
||||
(const ToolChainConstructor &toolchainContructor)
|
||||
void ToolChainFactory::setToolchainConstructor(const ToolChainConstructor &toolchainContructor)
|
||||
{
|
||||
m_toolchainConstructor = toolchainContructor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user