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. Qt5 Video Overlay
Qt 6.11 is out! See what's new in the release blog

Qt5 Video Overlay

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.4k 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.
  • F Offline
    F Offline
    FredeHo
    wrote on last edited by
    #1

    Hey Guys,

    I've been googling for days now and haven't found a solution yet...

    I am streaming a video with gstreamer into a QGraphicsView and everything is working perfectly, but now i want to have some elements which lay over the video for example QLabels and QButtons. They do have transparent corners and everything when laying upon each other but as soon as they're over the video, they turn black (see picture below).
    !http://i.imgur.com/WOAajWM.png(http://i.imgur.com/WOAajWM.png)!

    I've tried things as
    ->setStyleSheet("*{background-color: transparent}");
    ->setAttribute(Qt::WA_TranslucentBackground);
    ->setAtrtibute(Qt::WA_NoSystemBackground);
    but I'm still getting these ugly black boxes :/ Apparently there're some issues with widgets laying over video...

    I'd appreciate any possible help!
    Thanks,
    Frede

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

      Hi and welcome to devnet,

      You should add which OS and Qt version you are running on

      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
      0
      • F Offline
        F Offline
        FredeHo
        wrote on last edited by
        #3

        Hi and thank you :)
        I'm running Win 7 and Qt 5.2.1

        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