← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1556078] [NEW] Playlist requires QtMultimedia 5.6 but documentation says 5.4

 

Public bug reported:

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.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1556078

Title:
  Playlist requires QtMultimedia 5.6 but documentation says 5.4

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1556078/+subscriptions


Follow ups