Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
About directdraw, Qt::FramelessWindowHint and Qt::WA_TranslucentBackground
Gateslu last edited by
recently, i have a project about dispaly video, and this project use the directdraw to display the video on the qwidget with QWidget::winId() which is a child widget in the QMainwindow, and it works.
but now there is a problem, when i use setWindowFlags(Qt::FramelessWindowHint | Qt::WindowMinimizeButtonHint ) and setAttribute(Qt::WA_TranslucentBackground) in the qmainwindow, the child widget dose not work, the video can not display, is anybody can help me? thank you!
none last edited by
I am probably not able to help you but I am interested in how you use directdraw - could you post a short code snippet that shows how you write the image data to the display?
EdwardK last edited by
Hi I'm busy with directdraw (qt) project I will post results when I have one
if someone has info on this please post it or maybe someone on qt team already done it , help appreciated :)
vittalonline last edited by
hi try this
setAttribute(Qt::WA_NoSystemBackground,false); setStyleSheet("background-color: rgba(0,0,0,100%);" "border:1px solid gray;" "border-radius: 0px;" );