[kde-devel@localhost kdelibs]$ mkdir build
[kde-devel@localhost kdelibs]$ cd build/
[kde-devel@localhost build]$ cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DCMAKE_BUILD_TYPE=debugful ..
Warning: QT_QMAKE_EXECUTABLE reported QT_INSTALL_LIBS as /home/kde-devel/qt-copy/lib
Warning: /home/kde-devel/qt-copy/lib does NOT exist, Qt must NOT be installed correctly.
CMake Error: Could NOT find QtGlobal header
-- Configuring done
[kde-devel@localhost build]$ ls
[kde-devel@localhost build]$ which qmake
~/kde/src/qt-copy/bin/qmake
[kde-devel@localhost build]$ qmake --version
QMake version 2.01a
Using Qt version 4.3.2 in /home/kde-devel/qt-copy/lib
[kde-devel@localhost build]$ :)