[Interest] QML Video: keep last frame up

Jason H jhihn at gmx.com
Mon Nov 4 17:51:04 CET 2019

Very simply, I want to keep the last frame of video up (preferably without having to delve into C++). But when the video finishes, it disappears. I tried
Window {
	id: root
	visible: true
	width: 640
	height: 480
	title: qsTr("Hello World")
	Component.onCompleted: v.play()

	Video {
		id: v
		source: "1234567890ABCDEF_rear.mov"
		anchors.centerIn: parent
		rotation: 90
		height: root.width
		onStopped: seek(duration-1);

Anyone know how to do this?

More information about the Interest mailing list