QTfrontend/net/tcpBase.cpp
changeset 9212 1d4e1469940b
parent 9080 9b42757d7e71
child 9800 169fbb968bb3
equal deleted inserted replaced
9211:6235925d0fa1 9212:1d4e1469940b
   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);