[SOLVED] How can I delete the content of a file with Qt ?
How can I delete all the content of a file (I want to delete its content - not to delete the file) ?
Open the file with QIODevice::Truncate flag.
That solved the problem.
Kindly please edit the title of the thread to begin with [SOLVED]