[Qt-interest] Proper way to #include Phonon headers

Thiago Macieira thiago at kde.org
Sun Mar 7 11:39:20 CET 2010


Em Domingo 7. Março 2010, às 02.33.28, Nikos Chantziaras escreveu:
> It seems I'm not able to install Qt's Phonon module because I have KDE4
> installed which installs Phonon on its own.
> 
> However, this results in:
> 
>    Phonon/MediaObject: No such file or directory
> 
> If I try to #include <Phonon/MediaObject>.
> 
> So, what is the correct way to include Phonon headers that will allow
> the application to compile and run on both KDE as well as non-KDE systems?

The docs are wrong. Please use a lowercase p.

It won't work with KDE. I've already told upstream Phonon of the issue and I'm 
waiting for them to update on their side too.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100307/b455c5d5/attachment.bin 


More information about the Qt-interest-old mailing list