PDA

View Full Version : Delete Function



merry
25th July 2007, 12:05
Hi all

Can anybody tells me that , in Qt4.2 , is there any function to delete files.


Thanx

marcel
25th July 2007, 12:17
QFile::remove(fileName).
It is static.

Make sure the file is not in use, because the function will fail.

Regards