With that code I found earlier, I ported the old layer shell qt QML example to the new library properly. It's sadly AGPLv3 though, wish it could be less. If anyone has better replacement code that's not (A)GPL, I'll be grateful. I don't like the GPL due to its ties with the FSF and RMS so when I use it, there's no other choice.

https://codeberg.org/DrewNaylor/layer-shell-qt-updatedqmldemo/src/branch/master/tests/mainex.cpp

#programming #QtQuick #Wayland #LayerShell #QML

layer-shell-qt-updatedqmldemo/tests/mainex.cpp at master

layer-shell-qt-updatedqmldemo - KDE's Layer-Shell-Qt but with an updated QML demo from Drew DeVault's old QtLayerShell.

Codeberg.org