Difference between Qt Quick Application and Qt Quick UI?



  • what is the difference between Qt Quick Application and Qt Quick UI?

    I tried running below code in this two different projects?
    Qt Quick UI is able to play the movie media but not Qt Quick Application.
    Can someone explains why and where the mistake make?

    import QtQuick 2.0
    import QtMultimedia 5.0

    Rectangle {
    width: 480
    height: 270

    MediaPlayer {
        id: player
        source: "trailer_1080p.mov" // Point this to a suitable video file
        autoPlay: true
    }
    
    VideoOutput {
        source: player
        anchors.fill: parent
    }
    

    }


Log in to reply
 

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