equal
deleted
inserted
replaced
132 QProcess * process; |
132 QProcess * process; |
133 process = new QProcess(); |
133 process = new QProcess(); |
134 connect(process, SIGNAL(error(QProcess::ProcessError)), this, SLOT(StartProcessError(QProcess::ProcessError))); |
134 connect(process, SIGNAL(error(QProcess::ProcessError)), this, SLOT(StartProcessError(QProcess::ProcessError))); |
135 QStringList arguments=getArguments(); |
135 QStringList arguments=getArguments(); |
136 |
136 |
137 #ifdef DEBUG |
137 #ifdef QT_DEBUG |
138 // redirect everything written on stdout/stderr |
138 // redirect everything written on stdout/stderr |
139 process->setProcessChannelMode(QProcess::ForwardedChannels); |
139 process->setProcessChannelMode(QProcess::ForwardedChannels); |
140 #endif |
140 #endif |
141 |
141 |
142 process->start(bindir->absolutePath() + "/hwengine", arguments); |
142 process->start(bindir->absolutePath() + "/hwengine", arguments); |