equal
deleted
inserted
replaced
139 QProcess * process; |
139 QProcess * process; |
140 process = new QProcess(); |
140 process = new QProcess(); |
141 connect(process, SIGNAL(error(QProcess::ProcessError)), this, SLOT(StartProcessError(QProcess::ProcessError))); |
141 connect(process, SIGNAL(error(QProcess::ProcessError)), this, SLOT(StartProcessError(QProcess::ProcessError))); |
142 QStringList arguments=getArguments(); |
142 QStringList arguments=getArguments(); |
143 |
143 |
|
144 #ifdef DEBUG |
144 // redirect everything written on stdout/stderr |
145 // redirect everything written on stdout/stderr |
145 if(isDevBuild) |
146 process->setProcessChannelMode(QProcess::ForwardedChannels); |
146 process->setProcessChannelMode(QProcess::ForwardedChannels); |
147 #endif |
147 |
148 |
148 process->start(bindir->absolutePath() + "/hwengine", arguments); |
149 process->start(bindir->absolutePath() + "/hwengine", arguments); |
149 #endif |
150 #endif |
150 m_hasStarted = true; |
151 m_hasStarted = true; |
151 } |
152 } |