[ignored] Video type broken in Qt 5.3?
-
Is the Video type broken in Qt 5.3? If I run "Tools" -> "QML/JS" -> "Run Checks" for the code below , I get Unknown component (M300) for the Video type.
@
import QtQuick 2.1
import QtMultimedia 5.0Rectangle {
id: root
width: 640
height: 480
color: "black"Video { id: videoItem anchors.fill: parent onStopped: controller.emitAboutToFinish() } Connections { target: controller onStartPlaying: { videoItem.play() } onStopPlaying: { videoItem.stop() } onSetNextFile: { videoItem.source = file if (videoItem.playbackState != MediaPlayer.PlayingState && controller.canPlay()) videoItem.play() } onStopAndClear: { videoItem.stop() videoItem.source = "" } }
}
@ -
Hello,
i implemented your code into a new QtQuick project and it displays me no error or unknown component using Qt Creator 3.0.1 based on Qt 5.2.1 Rev 51af63bb9e. Did you implement any custom Components which may interfer with the Video Component?
-
Hi,
Just tried with the latest beta version of Qt 5.3, and this didn't show the issue either. So it must have been an issue with the beta version I tried earlier.
-
Well it's a beta, so there might occure some errors for sure.