forked from qt-creator/qt-creator
QtSupport: Add QtTestParser to the list of output formatters
... when creating a run control for a Qt project. Now tasks will appear in the issues pane for QtTest application output in the app output pane. Task-number: QTCREATORBUG-22665 Change-Id: I2674f3d4f9aabc0a4db4178dcd5495b822f14022 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -331,10 +331,10 @@ PythonRunConfigurationFactory::PythonRunConfigurationFactory()
|
||||
|
||||
PythonOutputFormatterFactory::PythonOutputFormatterFactory()
|
||||
{
|
||||
setFormatterCreator([](Target *t) -> OutputLineParser * {
|
||||
setFormatterCreator([](Target *t) -> QList<OutputLineParser *> {
|
||||
if (t && t->project()->mimeType() == Constants::C_PY_MIMETYPE)
|
||||
return new PythonOutputLineParser;
|
||||
return nullptr;
|
||||
return {new PythonOutputLineParser};
|
||||
return {};
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user