Why don't you just install the qt-sdk from the Ubuntu repos instead of trying to install Qt from source code? As discussed here:
http://ubuntuforums.org/showthread.php?t=1560265 the qt-sdk in Ubuntu provides legacy classes of qt3. What is the output of:
Code:
sudo apt-get install qt-sdk
Have you tried using the Qt from the Ubuntu repos before concluding that you must compile Qt from source?
Googling your error was not very helpful. It seems that you are about the only one reporting this problem. The only other reference I found on this was your other thread here:
http://ubuntuforums.org/showthread.php?p=10107702
If you really must install Qt from source, you will be responsible for installing all the dependencies for it. Consult the README or the INSTALL file that came with the Qt source package and make sure you have all the dependencies.