Error while starting QML Wayland Compositor
I'm trying to run Pure QML Wayland Compositor which I took from this page: https://doc.qt.io/qt-5/qtwaylandcompositor-pure-qml-example.html
If I run it in X server, it works fine. But when I try to run it in tty without X, I get the error:
failed to create display (No such file or directory).
I use this command to launch:
./composer --platform wayland
Hope for your help.
@CheeryLee I think QML wayland compositor can be run on wayland.
Because your error means that there is no wayland-0 for communicate between server and client.