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 417 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 20 Feb 2022, 19:44 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?

    J 1 Reply Last reply 21 Feb 2022, 07:36
    0
    • D dooe
      20 Feb 2022, 19:44

      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?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 21 Feb 2022, 07:36 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 21 Feb 2022, 18:30 last edited by
        #3

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

        C 1 Reply Last reply 21 Feb 2022, 18:43
        0
        • D dooe
          21 Feb 2022, 18:30

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

          C Online
          C Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on 21 Feb 2022, 18:43 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

          1/4

          20 Feb 2022, 19:44

          • Login

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