Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building Qt without a windowing system
Forum Update on Monday, May 27th 2025

Building Qt without a windowing system

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 549 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.
  • S Offline
    S Offline
    Sanid
    wrote on last edited by Sanid
    #1

    We have a custom Wayland solution using a custom shell & backend. As Qt currently only supports standard shells, I have the below queries

    1. Can we build Qt such that it does not use any windowing system i.e. neither X11 nor wayland so that rendering can be purely based on egl and opengl. Is this supported?

    2. In order to build Qt without X11 and Wayland I am using the following Configure command : :./configure -opensource -confirm-license -no-xcb -eglfs -opengl es2
      Is this command/config options are correct for the aforesaid requirement?

    3. Configuring with these options,whether we will be able to use touch or keypress events for available Qt controls, also will QtWebengine will be able to render a HTML page just using OpenGL and EGL?

    4. I see that when I render using EGLFS backend, a surface occupying the whole Desktop screen is created, I need to have a specific region 400X400 created as a surface for rendering content using Qt, whereas in remaining region rendering will not be done using Qt Is this possible?

    5. In case we have to port Qt to use our custom shell, can someone please share pointers on how to do these i.e. what are the possible code changes that are required.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      1. Yes
      2. Looks good
      3. That's the role of the input plugins
      4. You need to give more information about your system
      5. You can check the QtWayland module for example, and generally speaking the QPA modules.

      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
      2

      • Login

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