Passing values and url from cpp to qml
Solved
General and Desktop
-
-
@karti-gesar I did'nt need data conversion.I need to pass the values or url to qml
-
@main.qml
MediaPlayer
{
id:mediaplayer
source:"C:/Users/bharathiraja/Desktop/video.mp4";
autoPlay:true
loops:Animation.Infinite
}
VideoOutput
{
width:512
height:538id: videooutput source: mediaplayer }
@
I want to pass the url path of the video from cpp file.