Error with QtMultimedia 5.0 -qrc_qml.0 Error1



  • build error [-qrc_qml.0] Error1 appears in both trys below:

    I added hotgirl.mp4 under Qt resources file and added below code

    MediaPlayer{
    id:player
    source:"qrc:///hotgirl.mp4"
    autoplay:true
    }

    I try below code also

    MediaPlayer{
    id:player
    source:"/home/common/Desktop/pic/hotgirl.mp4"
    autoplay:true
    }

    Question- how to link the sources to resource:hotgirl.mp4 or to desktop:hotgirl.mp4


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.