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. Build Qt6 without X11 dependencies?
QtWS25 Last Chance

Build Qt6 without X11 dependencies?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qt6wayland
2 Posts 2 Posters 540 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.
  • O Offline
    O Offline
    omenos
    wrote on 11 May 2021, 15:07 last edited by
    #1

    A project I'm working on is striving for a Wayland native experience, and is trying to avoid the needing of any X11/xcb dependencies if at all possible. Right now it seems GTK4 (based on a preliminary look) is capable of being built without X11, and was wondering if Qt6 provides the same.

    If memory serves, the QtWayland docs for Qt5 used to say that the Wayland QPA was a wrapper around the X11 backend or primitives (I think). The Qt and Wayland wiki for 6.1/6.2-dev though make no mention of the X11 backend and give the appearance it might be possible to do what I'm looking for.

    Am I misreading or is it actually possible to produce a Wayland native Qt6 build without any X11 dependencies?

    Cheers,
    Mike

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 11 May 2021, 15:09 last edited by
      #2

      Just build Qt and don't deploy the xcb plugin (if it is really build).

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0

      1/2

      11 May 2021, 15:07

      • Login

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