KDE's source code is available in several ways:
There are different KDE branches. For production use, a stable version of KDE is recommended.
After KDE has been built, you'll want a good way to launch apps and perform your regular development tasks: