Skip to content
Snippets Groups Projects
Commit 12c58444 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Qbs: Report command that failed


... not just its output.

Change-Id: Iecac38e5f8458bebdd609ed0a514fe361ae5bd8d
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent 947207c8
No related branches found
No related tags found
No related merge requests found
......@@ -266,6 +266,10 @@ void QbsBuildStep::handleProcessResultReport(const qbs::ProcessResult &result)
return;
m_parser->setWorkingDirectory(result.workingDirectory);
QString commandline = result.binary + QLatin1Char(' ') + result.arguments.join(QLatin1String(" "));
addOutput(commandline, NormalOutput);
foreach (const QString &line, result.stdErr) {
m_parser->stdError(line);
addOutput(line, ErrorOutput);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment