Kate has problem to compile with qt < 5.10
I've tried to adapt gitlab ci file from okular: gawin/kate!1 (diffs)
Looks fine except:
../addons/project/kateprojectviewtree.cpp:31:10: fatal error: krecursivefilterproxymodel.h: No such file or directory
#include <krecursivefilterproxymodel.h>
Full log: https://invent.kde.org/gawin/kate/-/jobs/18914
Probably this code needs to be tweaked:
#if (QT_VERSION < QT_VERSION_CHECK(5, 10, 0))
#include <krecursivefilterproxymodel.h>
#else
#include <QSortFilterProxyModel>
#endif