QtQuick Video Item alpha blending
-
Hey I've got an RGBA video and I'd like for it to blend with other QtQuick elements like a Rectangle
@Rectangle {
width: 1024
height: 768
color: "yellow"focus: true
Video {
id: video
anchors.fill: parent
source: "alpha-video.mov"autoPlay: true
}
}@Is it possible to achieve such a thing?
-
"This article":http://www.ics.com/blog/qt-graphical-effects-module might help you in your quest :)
-
Thanks but unfortunately the Blend option does not work, and the other ones don't seem helpful.
-
Rake care to define the effect below both affected items in the QML file. I don't know why it works this way (not very QML-like, right?) but that is the way it is.