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
...@@ -266,6 +266,10 @@ void QbsBuildStep::handleProcessResultReport(const qbs::ProcessResult &result) ...@@ -266,6 +266,10 @@ void QbsBuildStep::handleProcessResultReport(const qbs::ProcessResult &result)
return; return;
m_parser->setWorkingDirectory(result.workingDirectory); m_parser->setWorkingDirectory(result.workingDirectory);
QString commandline = result.binary + QLatin1Char(' ') + result.arguments.join(QLatin1String(" "));
addOutput(commandline, NormalOutput);
foreach (const QString &line, result.stdErr) { foreach (const QString &line, result.stdErr) {
m_parser->stdError(line); m_parser->stdError(line);
addOutput(line, ErrorOutput); addOutput(line, ErrorOutput);
......
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