This also includes some of the necessary code changes, but especially the port to KWaylandServer is still missing.