PDA

View Full Version : about directdraw, Qt::FramelessWindowHint and Qt::WA_TranslucentBackground



gateslu
17th August 2012, 09:40
Hi all,
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!

Added after 1 34 minutes:

:crying:is anybody can help me?