I\'m currently downloading Qt4 and I got to about 85% of the download, when an unexpected error message popped up, saying...
Error during installation
I reinstalled xcode (from the apple developer website) and selected all the options that come with the package this time. I had no more problems during the installation.