I read https://doc.qt.io/qt-5/qml-qtwayland-compositor-waylandview.html#details but still cannot understand what is WaylandView. I tried to see how WaylandView works, but which type cannot be found.
WaylandView is not a type
I also tried WaylandQuickItem which looks like the wrapper class of WaylandView. but cannot understand the difference, why make WaylandView registered in QML but cannot create the instance? What it is used for?
                        
WaylandViewis mostly used if you are implementing a compositor in C++. In QML it's mostly an implementation detail, andWaylandQuickItemandShellSurfaceItemwraps and uses it internally.If you need to do something really specific that's incompatible with
ShellSurfaceItemandWaylandQuickItemit could probably be useful, but otherwise it's safe to ignore it.The QML cocumentation could probably have been better for that type ;)