How to make QByteArray read Full Text file?
-
Java has Files.readFileContent() and even Files.readAllLines(), similar .NET has File.ReadAllText(). Why does the QT/CPP doesn't provide a simple way to do this?
@stokito said in How to make QByteArray read Full Text file?:
Java has Files.readFileContent() and even Files.readAllLines(), similar .NET has File.ReadAllText(). Why does the QT/CPP doesn't provide a simple way to do this?
Hi,
It has: QFile::readAll.