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. Absolutely Transparent QWidgets
Forum Updated to NodeBB v4.3 + New Features

Absolutely Transparent QWidgets

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 565 Views 1 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
    corruptedsyntax
    wrote on last edited by
    #1

    I'm using EGLFS for rendering a single window application. Our application runtime is enabling a custom OS feature to render external camera feed directly to a memory mapped region for the display. The problem is that it appears that our use of MainWindow QWidget wipes everything going to the display. The MainWindow has been set to transparent, though it appears that it still writes white to the display before rendering anything over top of the MainWindow. Is there a way to make this absolutely transparent such that it won't overwrite anything on the display unless actively rendering a non-transparent qwidget there?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      corruptedsyntax
      wrote on last edited by
      #2

      For anyone's reference, this was the line I needed to add to my QMainWindow:

      this->setAttribute(Qt::WA_NoSystemBackground, true);
      
      1 Reply Last reply
      5

      • Login

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