2021-02-24 Fred Gleason <fredg@paravelsystems.com>

* Updated build system to use Qt5 instead of Qt4.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-02-24 16:12:22 -05:00
parent 5131b1d5fe
commit 57abeada3c
130 changed files with 481 additions and 441 deletions

View File

@@ -132,7 +132,7 @@ MainObject::MainObject(QObject *parent)
//
rda->cae()->connectHost();
if(qApp->argc()!=1) {
if(qApp->arguments().size()!=1) {
debug=true;
}
::signal(SIGCHLD,SigHandler);
@@ -310,14 +310,14 @@ void MainObject::readyReadData(int conn_id)
QString line=QString::fromUtf8(data);
for(int i=0;i<line.length();i++) {
QChar c=line.at(i);
if(c.toAscii()=='!') {
if(c==QChar('!')) {
if(!DispatchCommand(conn)) {
return;
}
conn->accum="";
}
else {
if((c.toAscii()!='\r')&&(c.toAscii()!='\n')) {
if((c!=QChar('\r'))&&(c!=QChar('\n'))) {
conn->accum+=c;
}
}