1

The following includes work fine in Windows but is giving errors in Linux:

#include <Phonon/MediaObject>
#include <Phonon/MediaSource>
#include <Phonon/AudioOutput>

1 Answer 1

0

What is MediaOutput? I can't find it even in the documentation. Maybe you're looking for MediaObject?

For the rest:

  1. check your build actually contains the phonon module;
  2. check you added QT += phonon in the .pro file;
  3. in my build the directory containing those headers is "phonon" (without the quotes), with the lower case "p", and Linux is not case insensitive like windows.
1
  • Lowercase 'p' was the issue, Thanks!
    – rocky
    Nov 1, 2011 at 3:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.