Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QT installation fails with "Not enough disk space to store temporary files"
QtWS25 Last Chance

QT installation fails with "Not enough disk space to store temporary files"

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 3 Posters 446 Views
  • 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.
  • R Offline
    R Offline
    rocketjosh
    wrote on last edited by rocketjosh
    #1

    Hello,

    I'm trying to get started with developing a QT application for the first time on macOS. The Online Installer and the Maintenance Tool are both refusing to let me install the QT library, giving the message:

    "Not enough disk space to store temporary files and the installation. 11.85 GB are available, while the minimum required is 35.81 GB."

    Message.png

    This is not correct - I have 187GB free:

    Free space.png
    Does anyone know how to get around this issue? Is there a way to at least suppress the check for free disk space, since it's so badly off? If not, can you recommend the next best way to install QT on macOS so I can get started?

    Thanks,

    - Josh

    jsulmJ 1 Reply Last reply
    0
    • R rocketjosh

      Hello,

      I'm trying to get started with developing a QT application for the first time on macOS. The Online Installer and the Maintenance Tool are both refusing to let me install the QT library, giving the message:

      "Not enough disk space to store temporary files and the installation. 11.85 GB are available, while the minimum required is 35.81 GB."

      Message.png

      This is not correct - I have 187GB free:

      Free space.png
      Does anyone know how to get around this issue? Is there a way to at least suppress the check for free disk space, since it's so badly off? If not, can you recommend the next best way to install QT on macOS so I can get started?

      Thanks,

      - Josh

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

      @rocketjosh said in QT installation fails with "Not enough disk space to store temporary files":

      35.81 GB.

      What did you select to install?!
      This is way to much for a typical Qt installation.

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

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rocketjosh
        wrote on last edited by
        #3

        Only one new box was ticked. The space calculations being done by the installer don't make any sense.

        Selected Options.png

        jsulmJ 1 Reply Last reply
        0
        • R rocketjosh

          Only one new box was ticked. The space calculations being done by the installer don't make any sense.

          Selected Options.png

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

          @rocketjosh This is indeed strange. Do you use latest online installer? Do you use a custom partition layout (like a partition for temp folder)?

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

          1 Reply Last reply
          0
          • R Offline
            R Offline
            rocketjosh
            wrote on last edited by rocketjosh
            #5

            Yes, the online installer was downloaded from the QT website in the last 24 hours.

            I have not intervened in the partition layout - it's just the APFS layout my Mac has done by default. Despite this I think you're onto something. The APFS Data volume shows a distinction between "Available" space and "Free" space, so I suspect the QT installer is only seeing the "Free" space figure.

            Screenshot 2024-12-10 at 09.58.07.png

            I'm not an expert on this aspect of modern macOS, but I suspect if you changed the installer to respect the "Available" space and started writing to disk, the system will probably start purging to free up the required space as you go.

            For now I'll try forcibly making iCloud some files go off-line to artificially increase the "Free" space figure and see if that lets me install, then I'll report back.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              rocketjosh
              wrote on last edited by
              #6

              That fixed it. I used brctl evict to make a large folder of iCloud files go offline, then the QT installer decided it was ok to install this time.

              1 Reply Last reply
              1
              • M Offline
                M Offline
                MSP123
                wrote on last edited by
                #7

                Same problem: it says I need 35.81GB and only 21.34GB are available. BUT, I have 334.42GB available!

                Discussion of "available" vs "free". From what I take from the discussion, QT Maintenance Tool is incorrectly checking "free" instead of "available" space: https://discussions.apple.com/thread/255341336?sortBy=rank

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  MSP123
                  wrote on last edited by
                  #8

                  The "dd" (line 3.) from soniksaint did the trick.

                  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