Important: Please read the Qt Code of Conduct -

Qt5 Video Overlay

  • 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).

    I've tried things as
    ->setStyleSheet("*{background-color: transparent}");
    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!

  • Lifetime Qt Champion

    Hi and welcome to devnet,

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

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

Log in to reply