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
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to