Use KDE:Frameworks5 too to avoid this conflict. Those files have been moved from kactivities5 to kio-extras5 upstream in the latest versions.