Adapt build system to also support Qt6
This includes Qt6 specific code changes as well, but still lacks the port to KWaylandServer (that's also needed due to KF5::WaylandServer being gone in 6).
This includes Qt6 specific code changes as well, but still lacks the port to KWaylandServer (that's also needed due to KF5::WaylandServer being gone in 6).