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