diff options
author | Daniel Teske <daniel.teske@digia.com> | 2012-11-02 12:45:09 +0100 |
---|---|---|
committer | Daniel Teske <daniel.teske@digia.com> | 2012-11-02 14:49:34 +0100 |
commit | 31e2ddd08535e792337075de86465d0360cbcf2a (patch) | |
tree | 8183158062ee9fc42799f03f1eb6e30bfbde6ae9 /src/plugins/autotoolsprojectmanager/makestep.cpp | |
parent | a36be214709f0fc524786c87812fb01202a735d8 (diff) | |
download | qt-creator-31e2ddd08535e792337075de86465d0360cbcf2a.tar.gz |
Kit: Add createOutputParser method
Which asks each KitInformation for their parser, thus currently creating
a toolchain + qt chain if that is applicable. Remove all code that does
that by hand from various buildsteps/buildconfigurations.
Change-Id: I79a07ffd1dbe9a43bdbc838bc0098071aa412009
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager/makestep.cpp')
-rw-r--r-- | src/plugins/autotoolsprojectmanager/makestep.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/plugins/autotoolsprojectmanager/makestep.cpp b/src/plugins/autotoolsprojectmanager/makestep.cpp index c0160986a4..186ec90bb2 100644 --- a/src/plugins/autotoolsprojectmanager/makestep.cpp +++ b/src/plugins/autotoolsprojectmanager/makestep.cpp @@ -192,11 +192,9 @@ bool MakeStep::init() pp->setArguments(arguments); setOutputParser(new GnuMakeParser()); - QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(target()->kit()); - if (version) - appendOutputParser(new QtSupport::QtParser); - if (tc) - appendOutputParser(tc->outputParser()); + IOutputParser *parser = target()->kit()->createOutputParser(); + if (parser) + appendOutputParser(parser); outputParser()->setWorkingDirectory(pp->effectiveWorkingDirectory()); return AbstractProcessStep::init(); |