how can i delete a file i used the code
but it doesnot works and returns false.
Printable View
... and check the return value of QFile::remove() and QFile::error() if you want to know when and why it failed (for example, the file does not exist, is locked, or you have insufficient permission).