Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Error while starting QML Wayland Compositor

Error while starting QML Wayland Compositor

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 857 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CheeryLee
    wrote on last edited by
    #1

    Hello everyone!
    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.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      CheeryLee
      wrote on last edited by
      #2

      Any variants?

      D 1 Reply Last reply
      0
      • C CheeryLee

        Any variants?

        D Offline
        D Offline
        digitalartist
        wrote on last edited by
        #3

        @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.

        Muchas Gracias!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved