While building qt-4.5 I received the following error:
gtksymbols.cpp.text+0x3e19): undefined reference to `getresuid(unsigned int*, unsigned int*, unsigned int*)'
gtksymbols.cpp.text+0x3e36): undefined reference to `getresgid(unsigned int*, unsigned int*, unsigned int*)'
collect2: ld returned 1 exit status
make[1]: *** [../../../bin/uic3] Error 1
make[1]: Leaving directory `/var/build/src/tools/uic3'
make: *** [sub-uic3-make_default-ordered] Error 2

The prototypes for getresuid and getresgid are defined by glibc>=2.3.2 where as I have glibc 2.2.5. I successfully built qt-4.4 with glibc-2.2.5. I did not find anywhere in the docs mentioning that qt-4.5.0 requires glibc>=2.3.2.