I know that linux can remove a file in using by system support ,but how can I do it use Qt in windows?
QFile::remove it dosen't work.
any help, thanks!
If a file is currently open in another Windows process that has not explicitly allowed sharing for delete then it is locked and you cannot delete it. This is not a Qt limitation.