PHONON_NO_CAPTURE cmake feature

Casian Andrei skeletk13 at
Tue Mar 20 08:35:29 GMT 2012

2012/3/20 Aleix Pol <aleixpol at>:
> Hi,
> I was trying to build phonon on some "unusual" platform (because
> phonon is a KDE dependency and I need kdelibs). Since I wanted to get
> it working fast I decided to enable the PHONON_NO_CAPTURE flag.
> I saw that it was not compiling, so I figured out I'd fix it (like I
> did with pulse, see my commits), then I realized that it can't be
> fixed because of some method that returns a reference (see
> mediasource.cpp:250).

Here's a quick fix:

> Since the fix is not trivial anymore because of some decisions to be
> made, I'll leave it up to the phonon crew.

Indeed, the issue is a bit more complicated. It looks like these
NO_STUFF definitions don't end up in the backends or applications. I
don't have time now to make a thorough investigation into this. We
will discuss the issue and see what should be done about it.

Thanks for reporting!
> Cheers!
> Aleix
> PS: it compiled, finally :)
> _______________________________________________
> kde-multimedia mailing list
> kde-multimedia at

More information about the kde-multimedia mailing list