Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
How to remove a file which has opended by other app
leafaku last edited by
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!
ChrisW67 last edited by
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.
twicave last edited by
rename it, then delete.