Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. can I delete these "build"s ?
Qt 6.11 is out! See what's new in the release blog

can I delete these "build"s ?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 3 Posters 690 Views 2 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1
    1. Should there be only one "build" directory ?
    2. Why some of these "builds " have QT version ?

    My project reside in MDI_BT directory...

    8f00b038-d68a-4503-8385-eb4a0e78da9a-image.png

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @AnneRanch said in can I delete these "build"s ?:

      Why some of these "builds " have QT version ?

      Because you can not mix different Qt versions so if you compile with Qt6.3.1 the output must be in a different directory than when you compile with Qt.6.2.3.

      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
      2
      • Chris KawaC Offline
        Chris KawaC Offline
        Chris Kawa
        Lifetime Qt Champion
        wrote on last edited by
        #3

        The default output directory name is build-[project name]-[kit name]-[configuration], so at some point you tried to compile this project with 4 different kits.
        Three of them have Qt version in their name because that's the default naming convention when you create or install a new kit.
        One is just called "Desktop" because that's probably the default one installed on your system.
        You can delete any or all of them. The one you actually currently use will be recreated the next time you build your project.

        1 Reply Last reply
        2
        • A Offline
          A Offline
          Anonymous_Banned275
          wrote on last edited by
          #4

          I have successfully deleted the directories. Had to recompile some libraries... no problem.
          I like to continue to clean-up so my next question is
          what are these for and can they be safely removed / deleted ?

          Should I have only "mdi.pro"?

          bece369e-eda9-4268-8efe-977cedca3cec-image.png

          1 Reply Last reply
          0
          • Chris KawaC Offline
            Chris KawaC Offline
            Chris Kawa
            Lifetime Qt Champion
            wrote on last edited by
            #5

            The .pro file is the file that holds your qmake configuration for the project, so don't delete that one.

            The .pro.user file is your local configuration. It holds stuff like which kit you selected, what build configuration is selected - debug or release, customization to paths or environment variables you might have done and bunch of other settings like that. And again - since you apparently configured this project multiple times with different kits you have a couple of them. I think you also get a new one when you update Qt Creator. The old one gets renamed with a hash as a backup.

            So it's ok to delete the ones with hash at the end. Those are basically backups (there's even a comment with a date and Qt Creator version at the top of their contents).
            If you remove the .pro.user you'll loose all your local settings, so next time you open the project you'd need to reconfigure - select kit, setup any custom paths or settings you changed etc., but those are local settings, so generally it won't hurt your project. This is a local file so if you share the project with someone this file you don't share. Everyone gets their own.

            1 Reply Last reply
            3

            • Login

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