Spanning Screens is an example that demonstrates how to let Wayland clients span multiple screens.
Spanning screens is a Wayland compositor example that maximizes clients across a top and a bottom screen.
Note: In order to support multiple Wayland outputs in the same compositor, the Qt::AA_ShareOpenGLContexts attribute must be set before the QGuiApplication object is constructed.