Overlaying text on top of a QtGStreamer video display
ericg22 last edited by
Can anyone provide tips on how to overlay a QWidget on top of the video supplied by qt-gstreamer-1.20 (using Qt5.6 on Linux)? By setting WA_TranslucentBackground and using a paint color with an alpha value, I have an an "alert" widget that correctly overlays other QWidgets. However when the same alert is displayed over a window displaying qt-gstreamer output the alert is opaque.
I have tried setting the overlay window using gst_x_overlay_set_xwindow_id(), as well as specifying QtGstreamer's qwidgetvideo without success. Also since this is an embedded app, I am looking for a solution that does not rely on X11. Any suggestions would be greatly appreciated.