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.
All you need to do is install GCC - that comes with Xcode ! I had the same issues Lion, I installed gcc, and reinstalled QT... things went smooth. to double check if you have the same issues, use " which gcc" and see if you have gcc.
To install gcc, go to Xcode->Preference->Downloads and click install button besides "Command line tools".