Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32981

QtCreator never releases file lock (Windows)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • Qt Creator 17.0.0
    • Qt Creator 16.0.2, Qt Creator 17.0.0-beta1
    • Quick / QML Support
    • None
    • Windows
    • bda23307e (17.0)

    Description

      Not sure what component is responsible for this. My workflow often is:

      1. Add some CMake stuff. Does not change anything, so it must be cached.
      2. Try to delete the build folder. QtCreator has a lock. Close the related/all projects. QtCreator still has the lock
      3. After closing QtCreator I'm finally able to delete my build folder
      4. Start QtCreator again

      Now I have to do this every time CMake tries to be smart and caches some value Using Windows powertoys File Locksmith:

      This lock persists as long as QtCreator is open.

       

      Attachments

        1. image-2025-05-20-11-11-16-819.png
          55 kB
          Elias Steurer
        2. image-2025-05-21-14-54-10-158.png
          244 kB
          Elias Steurer
        3. image-2025-05-22-13-59-51-030.png
          53 kB
          Elias Steurer
        4. image-2025-05-22-14-00-29-786.png
          49 kB
          Elias Steurer
        5. image-2025-05-22-14-05-25-224.png
          36 kB
          Elias Steurer
        6. image-2025-06-05-15-03-24-252.png
          38 kB
          Elias Steurer
        7. image-2025-06-05-15-04-40-100.png
          31 kB
          Elias Steurer
        8. image-2025-06-05-15-04-59-901.png
          30 kB
          Elias Steurer
        9. qtcreator-delete-build-dir.png
          247 kB
          Cristian Adam
        For Gerrit Dashboard: QTCREATORBUG-32981
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            kelteseth Elias Steurer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes