forked from qt-creator/qt-creator
Qt Version refactoring
Split up target specific code into subclasses. Also change Qt4BuildConfiguration to allow a null qtversion. Remove code that relied on always having a qt version. Also make it possible to remove all qt versions. Completly change the qt in path autodetection to be only a fall back if no configuration was found. Note: For now the old settings are not removed, as such 2.2 and master can coexist. Reviewed-By: hunger
This commit is contained in:
@@ -203,9 +203,13 @@ bool MakeStep::init()
|
||||
setEnabled(true);
|
||||
pp->setArguments(args);
|
||||
|
||||
ProjectExplorer::IOutputParser *parser = bc->qtVersion()->createOutputParser();
|
||||
Q_ASSERT(parser);
|
||||
parser->appendOutputParser(new QtParser);
|
||||
ProjectExplorer::IOutputParser *parser = 0;
|
||||
if (bc->qtVersion())
|
||||
parser = bc->qtVersion()->createOutputParser();
|
||||
if (parser)
|
||||
parser->appendOutputParser(new QtParser);
|
||||
else
|
||||
parser = new QtParser;
|
||||
if (toolchain)
|
||||
parser->appendOutputParser(toolchain->outputParser());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user