After downloading a package on linux, I was stuck at the configure stage. I got errors on the Qt path and subsequently the KDE include path. It took me a while to find out the flags to use:
./configure –prefix=/path/to/your/prog_files –with-qt-libraries=/usr/lib/qt3/lib64 –enable-libsuffix=64
The –with-qt-libraries flag will take care of the Qt path. And the –enable-libsuffix flag somehow takes care of the KDE include path.