Qt Notes

number to string

QString::number(i)

same as

QString s;

s.number(i)

QProcess

QProcess r;   r.start(args); r.waitForFinished; ui->textEditLog->append("Return Code: " + s.number(r.exitCode));

same as

QProcess *r = new QProcess; r->start(args); r->waitForFinished; ui->textEditLog->append("Return Code: " + s.number(r->exitCode));