QTfrontend/tcpBase.cpp
changeset 5213 a86768368309
parent 4976 088d40d8aba2
equal deleted inserted replaced
5212:eaffb02f0053 5213:a86768368309
    70   IPCSocket = 0;
    70   IPCSocket = 0;
    71 
    71 
    72   QProcess * process;
    72   QProcess * process;
    73   process = new QProcess;
    73   process = new QProcess;
    74   connect(process, SIGNAL(error(QProcess::ProcessError)), this, SLOT(StartProcessError(QProcess::ProcessError)));
    74   connect(process, SIGNAL(error(QProcess::ProcessError)), this, SLOT(StartProcessError(QProcess::ProcessError)));
    75   QStringList arguments=setArguments();
    75   QStringList arguments=getArguments();
    76 
    76 
    77   // redirect everything written on stdout/stderr
    77   // redirect everything written on stdout/stderr
    78   if(isDevBuild)
    78   if(isDevBuild)
    79     process->setProcessChannelMode(QProcess::ForwardedChannels);
    79     process->setProcessChannelMode(QProcess::ForwardedChannels);
    80   process->start(bindir->absolutePath() + "/hwengine", arguments);
    80   process->start(bindir->absolutePath() + "/hwengine", arguments);