Results 1 to 1 of 1

Thread: QMediaPlayer - Reorganising a QListWidget after calling shuffle()

  1. #1
    Join Date
    Dec 2013
    Location
    Plymouth
    Posts
    1
    Qt products
    Qt5
    Platforms
    MacOS X Windows

    Default Re: QMediaPlayer - Reorganising a QListWidget after calling shuffle()

    Good evening all,
    Let me first mention that I have only experienced Qt for a month or two, and haven't ever touched C++ before that, so any code I paste up will most likely be riddled with faults!

    I've set myself the task of creating a media player and am nearing completion, bugfixing basically. I found the slot QMediaPlaylist::Shuffle() and fancied using it. The media shuffles perfectly fine, however, I can't work out how to update the ListWidget to show the newly shuffled list.

    Any help in this matter would be greatly appreciated,

    Thanks in advance,

    Alex


    Added after 1 48 minutes:


    I've also just picked up a "handleSessionEvent: serious error = -2147467262" error whilst trying to play .avi and .mkv files. Is there anyway to add the codecs into my program?
    Last edited by Evilpaperclip; 13th December 2013 at 01:31.

Similar Threads

  1. Timecode in QMediaPlayer
    By mkarol in forum Qt Programming
    Replies: 1
    Last Post: 5th December 2013, 17:50
  2. QMediaPlayer Questions
    By morpheus in forum Newbie
    Replies: 1
    Last Post: 25th August 2013, 14:03
  3. QMediaPlayer problems
    By alenn.masic in forum Qt Programming
    Replies: 1
    Last Post: 25th February 2013, 15:32
  4. QObject children shuffle
    By ugluk in forum Qt Programming
    Replies: 7
    Last Post: 13th August 2012, 15:17
  5. Replies: 2
    Last Post: 20th September 2007, 19:37

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.