Playlist requires QtMultimedia 5.6 but documentation says 5.4

Bug #1556078 reported by Stuart Langridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Developer Portal
New
Undecided
Unassigned

Bug Description

https://developer.ubuntu.com/api/apps/qml/sdk-15.04.1/QtMultimedia.Playlist/ has this explicit code example:

import QtQuick 2.0
import QtMultimedia 5.4
Item {
    width: 400;
    height: 300;
    Audio {
        id: player;
        playlist: Playlist {
            id: playlist
            PlaylistItem { source: "song1.ogg"; }
            PlaylistItem { source: "song2.ogg"; }
            PlaylistItem { source: "song3.ogg"; }
        }
    }
    ...
}

That doesn't work. Playlist doesn't seem to exist in QtMultimedia 5.4; one must import QtMultimedia 5.6.

Michael Hall (mhall119)
affects: ubuntu-ui-toolkit (Ubuntu) → developer-ubuntu-com
Revision history for this message
XiaoGuo, Liu (liu-xiao-guo) wrote :

The API works on Ubuntu 15.04.04 framework, but I get different result when I display it using a ListView.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.