QT and log rotation with qDebug
The logging function if the QT framework, does not support log rotation. In one of my applications the log files where going to be very big and old files where kept wasting disk space. So here is my solution: only the latest log files are kept. Also, once the current log file hits a certain …