Commit 7f943cae authored by Tobias Hunger's avatar Tobias Hunger

Autotools: Do not register buildconfigurationfactory

Change-Id: I8df8ca7d4440436acb595d69d64f460125d4dbd0
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 290dad95
......@@ -67,7 +67,6 @@ bool AutotoolsProjectPlugin::initialize(const QStringList &arguments,
return false;
addAutoReleasedObject(new AutotoolsTargetFactory);
addAutoReleasedObject(new AutotoolsBuildConfigurationFactory);
addAutoReleasedObject(new MakeStepFactory);
addAutoReleasedObject(new AutogenStepFactory);
addAutoReleasedObject(new ConfigureStepFactory);
......
......@@ -146,7 +146,7 @@ AutotoolsTarget *AutotoolsTargetFactory::create(Project *parent, const QString &
AutotoolsTarget *t = new AutotoolsTarget(project);
// Add default build configuration:
AutotoolsBuildConfigurationFactory *bcf = ExtensionSystem::PluginManager::instance()->getObject<AutotoolsBuildConfigurationFactory>();
AutotoolsBuildConfigurationFactory *bcf = t->buildConfigurationFactory();
AutotoolsBuildConfiguration *bc = bcf->createDefaultConfiguration(t);
bc->setDisplayName("Default Build");
......
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