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. Embedded QWindow on X11: black background
Forum Updated to NodeBB v4.3 + New Features

Embedded QWindow on X11: black background

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 62 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.
  • M Offline
    M Offline
    Matt Chaput
    wrote last edited by
    #1

    In Qt 6.8 I'm trying to embed a QWindow (specifically a QQuickView) inside a parent Qt window. The embedded window is properly transparent when it's a floating (non-embedded) window. On MacOS and Windows it has proper transparency when it's embedded, but on X11 it's "transparent", but instead of showing through to the parent window, it's drawn on top of a black rectangle (for example, if I set the background color to semi-transparent red, that just tints the black background).

    macOS/Windows:

    macos_windows.png

    X11 (ignore round buttons, this is an older build):

    x11.png

    I've tried manually setting the alpha buffer size to 8 as seen in some Qt docs, but that made no difference.... probably because window transparency is working, but it seems like there's another issue specific to embedding on X11.

    Is there a fix for this?

    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