Commit ce26dd25 authored by dt's avatar dt
Browse files

Fix for Custom build steps

parent 85458519
......@@ -216,11 +216,11 @@ void AbstractProcessStep::slotProcessFinished(int, QProcess::ExitStatus)
{
QString line = QString::fromLocal8Bit(m_process->readAllStandardError()).trimmed();
if (!line.isEmpty())
stdOut(line);
stdError(line);
line = QString::fromLocal8Bit(m_process->readAllStandardOutput()).trimmed();
if (!line.isEmpty())
stdError(line);
stdOut(line);
m_eventLoop->exit(0);
}
......@@ -70,6 +70,9 @@ bool ProcessStep::init()
wd = "$BUILDDIR";
AbstractProcessStep::setWorkingDirectory(wd.replace("$BUILDDIR", project()->buildDirectory(buildConfiguration())));
AbstractProcessStep::setCommand(m_command);
AbstractProcessStep::setEnabled(m_enabled);
AbstractProcessStep::setArguments(m_arguments);
return AbstractProcessStep::init();
}
......
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