Pure QML is an example that demonstrates how to write a Wayland compositor in pure QML.
Pure QML is a small desktop-style Wayland compositor example that demonstrates the power and ease of the Qt Wayland Compositor QML APIs.
Example project @ code.qt.io