Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error while starting QML Wayland Compositor from console
Qt 6.11 is out! See what's new in the release blog

Error while starting QML Wayland Compositor from console

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 634 Views 2 Watching
  • 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

    After that I tried ./composer -platform eglfs, but stiil no luck: Could not open display.

    How can I solve this problem?

    Hope for your help.

    1 Reply Last reply
    1
    • A Offline
      A Offline
      alishir
      wrote on last edited by
      #2

      Hi,
      Did you find the solution? I have the same problem.
      Would you please share the solution if you find it?

      Regards,
      Ali

      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