apt-get build-dep linux-source

apt-get install qt3-dev-tools libqt3-mt-dev

cd /usr/src

apt-get linux-source

tar -xvvf linux-source.x.x.tar.gz

cd linux-source.x.x

cp -vi /boot/config-`uname -r` .config

make xconfig

Add remove and options/modules and save

fakeroot make-kpkg --initrd --append-to-version=-custom kernel-image kernel-headers kernel-source 

this will give you installable .debs in /usr/src for your custom kernel