QWindow Compositor is an example that demonstrates how to write a Wayland compositor in C++.
QWindow Compositor is a desktop-style Wayland compositor example that demonstrates the power of the Qt Wayland Compositor C++ APIs.
Example project @ code.qt.io