diff --git a/src/plugins/projectexplorer/abstractprocessstep.cpp b/src/plugins/projectexplorer/abstractprocessstep.cpp index 64983b997297884af3c02095dad73bb55d82702a..c6ee7308dbc5402810c10377923151104c81e784 100644 --- a/src/plugins/projectexplorer/abstractprocessstep.cpp +++ b/src/plugins/projectexplorer/abstractprocessstep.cpp @@ -213,7 +213,7 @@ void AbstractProcessStep::processFinished(int exitCode, QProcess::ExitStatus sta } else if (status == QProcess::NormalExit) { textCharFormat.setForeground(Qt::red); textCharFormat.setFontWeight(QFont::Bold); - emit addOutput(tr("The process \"%1\" exited with code %2.").arg(m_command, m_process->exitCode()), textCharFormat); + emit addOutput(tr("The process \"%1\" exited with code %2.").arg(m_command, QString::number(m_process->exitCode())), textCharFormat); } else { textCharFormat.setForeground(Qt::red); textCharFormat.setFontWeight(QFont::Bold);