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. Phonon module in Qt4 and Qt5

Phonon module in Qt4 and Qt5

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 4.3k Views
  • 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.
  • W Offline
    W Offline
    WeX.tmpvar
    wrote on last edited by
    #1

    Hello! I have application written with Qt4, and it use phonon module. I compile it with Qt5, but it's not work =(( I found problem in part of code, where I create phonon paths:

    @
    ...
    audioOutput = new Phonon::AudioOutput;
    mediaObject = new Phonon::MediaObject;

    dataOutput = new Phonon::AudioDataOutput;
    
    Phonon::createPath(mediaObject, dataOutput);
    Phonon::createPath(mediaObject,audioOutput);
    
    mediaObject->setCurrentSource("/home/wex/temp/test.mp3");
    mediaObject->play();
    

    ...
    @

    When I compile application with Qt5, it's don't play music and don't get audio data. And if I compile it with Qt4 all works good =(

    If I remove this string: "Phonon::createPath(mediaObject, m_aDataOutput);" and compile app, then music plays normal, but I can't get the audio data =(( How I can solve it problem? Thanks =)

    Sorry for my english =)

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      Report a regression in Qt 5 using the bugtracker please.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        WeX.tmpvar
        wrote on last edited by
        #3

        OK. "QTBUG-26471":https://bugreports.qt-project.org/browse/QTBUG-26471

        Sorry for my english =)

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          Thanks for reporting.

          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