Answer the question
In order to leave comments, you need to log in
Qt, QML How to output multiple VideoOutput?
Greetings!
There is a need to output several VideoOuput together in QML,
the output code is something like this:
GridLayout {
anchors.fill: parent
columns: 3
Rectangle {
color: "red"
Layout.fillHeight: true
Layout.fillWidth: true
VideoOutput {
id: videoOutput
clip: true
anchors.fill: parent
source: client1;
}
}
Rectangle {
color: "blue"
Layout.fillHeight: true
Layout.fillWidth: true
VideoOutput {
id: videoOutput2
clip: true
anchors.fill: parent
source: client2;
}
}
Rectangle {
color: "green"
Layout.fillHeight: true
Layout.fillWidth: true
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question