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

Nikos Chantziaras realnc at arcor.de
Sun Mar 7 11:50:14 CET 2010


On 03/07/2010 12:39 PM, Thiago Macieira wrote:
> 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.

I was a bit confused about who "owns" Phonon.  So Phonon's upstream is 
KDE, not Trolltech/Nokia, right?



More information about the Qt-interest-old mailing list