All currently dependencies searched for in KDevPlatformConfig.cmake.in need to be rechecked if they really are used in the public kdevplatform API and thus need respective devel packages to be installed by 3rd-party kdevplaform plugin developers. Downstream thinks there are quite some that could be dropped, e.g. opensuse has a patch: https://build.opensuse.org/package/view_file/KDE:Unstable:Extra/kdevelop5/reduce_dependencies.diff?expand=1 Needs also to be decided which implicitly covered dependencies should be explicitely listed and which not, to protect against future changes in the indirect dependencies.
It can probably be trimmed. We just need to list the public dependencies (i.e. in target_link_libraries(...PUBLIC...)) and transcribe it there. PRIVATE dependencies shouldn't be listed.
Addressing with https://phabricator.kde.org/D10696