Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Difference between Qt Quick Application and Qt Quick UI?
Forum Updated to NodeBB v4.3 + New Features

Difference between Qt Quick Application and Qt Quick UI?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 732 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    houmingc
    wrote on last edited by
    #1

    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
    }
    

    }

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved