Build instructions can be found at 
http://techbase.kde.org/Getting_Started/Build/KDE4