Translations:KDevelop5/Manual/Appendix A: Building KDevelop from Sources/3/en
There is a more detailed article here which uses the kdesrc-build system that builds up-to-date KDE dependencies and then KDevelop. The article also details a configuration change to prevent building all of the KDE dependencies when using kdesrc-build.