Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
Last active March 12, 2024 14:50
Show Gist options
  • Save peteristhegreat/719db2af49af600e06722827f98c7a52 to your computer and use it in GitHub Desktop.
Save peteristhegreat/719db2af49af600e06722827f98c7a52 to your computer and use it in GitHub Desktop.
qt setup "not enough disk space to store temporary files" windows

qt setup "not enough disk space to store temporary files" windows

If the volume that the temp directory is on is not the same as the install path, then it won't let it install. See the lines in the source for it below:

https://github.com/qtproject/installer-framework/blob/master/src/libs/installer/packagemanagergui.cpp

https://www.google.com/search?q=set+temp+path+batch

To fix it you have to set the %TMP% in a command prompt and launch the installer from that command prompt.

set TMP=C:\Temp
set TEMP=C:\Temp

cd %userprofile%\Downloads
qt-unified-windows-x86-3.0.2-online.exe

Hope that helps.

@shubhsbankar
Copy link

It worked for me!! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment