try pen.setColor(Qt::transparent);
try pen.setColor(Qt::transparent);
Why dont you override the video widget itself ? You will need to call the base class paintEvent first and then your lines drawing code.
That way you can still draw over the video, isnt it![]()
Pardon me,
what about widget->setStyleSheet("background-color: rgb(0,0,0,0)"); ?
You can do it from the designer as well.
I guess it might be tricky. I guess the phonon will use directX and directX will render directly on memory buffer,,, so am afraid you cant do it directly.. I will try if i get some time...I did this first but it didnt work, all i saw was the videostream.
till then hope someone else comes to rescue![]()
Bookmarks