Can not delete .gif file after using it in Qmovie constructor
-
wrote on 20 Feb 2022, 19:44 last edited by
Can not remove the .gif file used to create QMovie. Tried after stop movie and delete(myMovie). Only can delete after closing program. Using Windows 10.
Does anyone know why and how to enable the remove file?
-
Can not remove the .gif file used to create QMovie. Tried after stop movie and delete(myMovie). Only can delete after closing program. Using Windows 10.
Does anyone know why and how to enable the remove file?
@dooe Sounds like QMovie does not close the file. On Windows you cannot delete/rename open files. Try to delete QMovie instance and then the image file.
-
wrote on 21 Feb 2022, 18:30 last edited by
Thank you for the reply but as I posted I already tried that and it does not work.
-
@dooe said in Can not delete .gif file after using it in Qmovie constructor:
I already tried that and it does not work.
Please show your code.
1/4