Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can not delete .gif file after using it in Qmovie constructor
Forum Updated to NodeBB v4.3 + New Features

Can not delete .gif file after using it in Qmovie constructor

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 413 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dooe
    wrote on last edited by
    #1

    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?

    jsulmJ 1 Reply Last reply
    0
    • D dooe

      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?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • D Offline
        D Offline
        dooe
        wrote on last edited by
        #3

        Thank you for the reply but as I posted I already tried that and it does not work.

        Christian EhrlicherC 1 Reply Last reply
        0
        • D dooe

          Thank you for the reply but as I posted I already tried that and it does not work.

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @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.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved