Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMediaPlayer cdda
Qt 6.11 is out! See what's new in the release blog

QMediaPlayer cdda

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 2.1k 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.
  • N Offline
    N Offline
    notoken123
    wrote on last edited by
    #1

    Hi All,

    I can't seem to find how to play an audio cd with the QMediaPlayer library, in QT 4 phonon was able to do this, but in QT 5 this was deprecated.

    Any suggestions more then welcome!

    Thanks

    1 Reply Last reply
    0
    • N Offline
      N Offline
      notoken123
      wrote on last edited by
      #2

      Does anybody have any ideas concerning this issue?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Brochadinho
        wrote on last edited by
        #3

        just checked "QMediaplayer":http://qt-project.org/doc/qt-5/qmediaplayer.html and doesn't saw anything saying that is deprecated, so i presume that is ok for use.

        1 Reply Last reply
        0
        • N Offline
          N Offline
          notoken123
          wrote on last edited by
          #4

          phonon is deprecated, it is no longer included and does not compile with qt5

          1 Reply Last reply
          0
          • N Offline
            N Offline
            notoken123
            wrote on last edited by
            #5

            i'm trying to find out how to play an audio cd with the QMediaPlayer library in Qt 5

            1 Reply Last reply
            0
            • B Offline
              B Offline
              Brochadinho
              wrote on last edited by
              #6

              well.. searching on package manager on linux you can find libphonon4qt5-4 nad others...

              @
              multimedia framework from KF5 - core library

              Phonon is the Qt multimedia API, which provides a task-oriented abstraction
              layer for capturing, mixing, processing, and playing audio and video content.

              This package contains the core library of the Phonon cross-platform multimedia
              framework from KDE. It is required to run applications that use Phonon.

              This package is for the version compiled for Qt 5.@

              so i think that you can get a phonon for qt5

              1 Reply Last reply
              0
              • N Offline
                N Offline
                notoken123
                wrote on last edited by
                #7

                ok, thanks for the pointers everyone

                libphonon4qt5 was not included in debian, so had to compile from scratch.
                also compiled the vlc backend, for this i had to compile vlc also, because the libvlc included in the repositories (unstable) crashed the application on boot (memory access failure)

                playing cd's with the phonon+vlc backend in q5 works now, but not listing the amount of tracks available, for this i had to use the libcdio.

                everything works like a charm now, thanks everyone!

                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