[Qt-interest] Proper way to #include Phonon headers
Nikos Chantziaras
realnc at arcor.de
Sun Mar 7 12:31:21 CET 2010
On 03/07/2010 01:08 PM, Konstantin Tokarev wrote:
>
>
> 07.03.10, 12:50, "Nikos Chantziaras"<realnc at arcor.de>:
>
>> 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.
>>>>
>>>> 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?
>
> AFAIU, if you use KDE's Phonon, your software will depend on kdelibs. So, to be cross-platform, Phonon needs to be moved into Qt. Am I right?
I don't intent to offer binaries for Unix/Linux (I find it an impossible
task), only the source tarball. So my problem was mainly compilation
issues with people who have KDE installed and those who don't. I'll
only provide binaries (static) for OS X and Windows, and there's no
problem with kdelibs there.
More information about the Qt-interest-old
mailing list