I need to read large file's data, but I'm getting memory problems with file.readAll().
How should I chunk it, and get the data?
I tried that, but it didn't give correct result.Code:QFile file(path); while (!file.atEnd()) { data += file.readLine().data(); }



