First, download and extract sip. In the top-level sip directory run the commads
python2.5 configure.py
make
make install (as root)
Then download and extract PyQt. In the top-level directory run the commands
python2.5 configure.py
make
make install (as root)