Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Unsolved Absolutely Transparent QWidgets

    General and Desktop
    1
    2
    395
    Loading More Posts
    • 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
      corruptedsyntax last edited by

      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 Reply Quote 0
      • C
        corruptedsyntax last edited by

        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 Reply Quote 5
        • First post
          Last post