List of modules/libs that will need any work to run on Wayland:
Some KCM Modules need porting or at least adding runtime checks to avoid running some code
Already has HAVE_X11 so compilation is already optional. It seems that the code is no longer needed with Qt5 since we have our own QPT.
Uses krdb, already has HAVE_X11 for dpi configurationj
Rewrite all this with abstraction so we can support both, X11 and Wayland
Needs abstraction, and implement wl_cursor_* backend for Wayland.
These settings belong now to the compositor (KWin), so we need to sort things out over there.
Needs port tohttp://xkbcommon.org/
Drop Xft support and move to fontconfig only