How to write to the end of a file in QT C ++?
QFile file("C:/Dev/log.txt"); if (file.open(QIODevice::WriteOnly)) { file.write(line); } file.close();
So overwrites.
How to write to the end of a file in QT C ++?
QFile file("C:/Dev/log.txt"); if (file.open(QIODevice::WriteOnly)) { file.write(line); } file.close();
So overwrites.
Source: https://ru.stackoverflow.com/questions/384208/
All Articles