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. How to run a QTWayland compositor from tty terminal without x11

How to run a QTWayland compositor from tty terminal without x11

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qtwayland
4 Posts 2 Posters 853 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.
  • T Offline
    T Offline
    trickymind
    wrote on 5 May 2020, 16:36 last edited by
    #1

    I have been working on a qml based wayland compositor and i'm able to run it from my desktop. but when i try to run it from a terminal session it shows some error.

    so after googleing some stuff i figured out a way to run it using eglfs.
    like :

    ./mycompositor -platform eglfs
    

    but i'm confused that will it affect the perfomance of my compositor if i run it under eglfs.

    is there any way to start my compositor by itself without any platform support.
    i've see weston starts from terminal by just typing

    weston 
    

    in terminal

    please help me to figure out a way for this.

    note: i don't want to run my compositor under any paltform like xcb.i have to run it with the help of direct wayland

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 5 May 2020, 18:18 last edited by
      #2

      Hi and welcome to devnet,

      I haven't used that module but from instinct I would say that you should use the wayland qpa.

      You can find some more information on this wiki page.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • T Offline
        T Offline
        trickymind
        wrote on 6 May 2020, 04:31 last edited by
        #3

        @SGaist said in How to run a QTWayland compositor from tty terminal without x11:

        wayland qpa

        ya i have seen this,

        export QT_QPA_PLATFORM=wayland
        

        by doing this we can run qtwayland client apps on top of any other like x11. but what i need is to run the compositor(server) from the terminal without having any platform like x11.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 6 May 2020, 07:46 last edited by
          #4

          I think I may have misunderstood your issue.

          AFAIU, weston will try to select something based on what is available, you should check it for what is available to it and using.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          1/4

          5 May 2020, 16:36

          • Login

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