[Qt-interest] Proper way to #include Phonon headers
Konstantin Tokarev
annulen at yandex.ru
Sun Mar 7 12:08:57 CET 2010
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?
--
Regards,
Konstantin
More information about the Qt-interest-old
mailing list