Can't find X includes
$sudo apt-get install libx11-dev xorg-dev
2. Qt (>= Qt 3.0) (headers and libraries) not found
$sudo apt-get install qt3-apps-dev
3.checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
$sudo apt-get install kdebase-dev
./configure --prefix=`kde-config --prefix`