Just wondering if anybody knows why I got this error during configure:
checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Shouldn't it automatically find the headers and library? Is there any parameter that I should pass in?
Yes, it does automatically find the headers and libraries, and since it cant find them, you dont have them. You need to download and install the qt development packages in order to compile from source.