[Qt-interest] Kubuntu 8.10 Qt 4.4.3 phonon gstreamer mess :-(
Pau Garcia i Quiles
pgquiles at elpauer.org
Thu Dec 11 16:47:48 CET 2008
On Thu, Dec 11, 2008 at 4:10 PM, Bart van Deenen
<bvandeenen at infologic.nl> wrote:
> Hi all
>
> I'm struggling to get phonon working well on my Kubuntu 8.10 box.
>
> I'm having the following troubles:
>
> The qt-x11-opensource-src-4.4.3 I have built has configure options
> -phonon and -phonon-backend. I've managed to build qt with both of them,
> it correctly recognizes gstreamer, and installs
> in /usr/local/Trolltech/Qt-4.4.3/
Why are you building Qt? Intrepid does include Qt 4.4.3 and Phonon,
including the GStreamer and Xine backends. In fact, it includes Phonon
4.2 (the KDE version of the backend), which is newer than the version
in Qt 4.4.3 (Phonon 4.1).
Packages are libqt4-core, libqt4-gui, libqt4-dev, etc for Qt4, and
libphonon4, libphonon-dev, phonon-backend-gstreamer and
phonon-backend-xine for Phonon 4.2 and its backends.
>
> The documentation mentions
> #include <Phonon>
> for pretty much all examples, but
>
> there is no such thing inside that directory:
> kubu:/usr/local/Trolltech/Qt-4.4.3$ find . -name Phonon
>
> kubu:/usr/local/Trolltech/Qt-4.4.3$ find . | grep -wi mediaobject
> ./doc/html/phonon-mediaobject-members.html
> ./doc/html/phonon-mediaobject.html
> ./include/phonon/mediaobject.h
> ./include/Qt/mediaobject.h
Where does the documentation say "#include <Phonon>"? Certainly not in
the examples :-? For instance:
http://doc.trolltech.com/4.4/phonon-musicplayer.html
> So which phonon version should I use, the one that is from Qt or the one
> from KDE?
If I were you, I'd use the newest one. Currently, that is Phonon 4.2 from KDE:
http://websvn.kde.org/trunk/kdesupport/phonon/
> And why doesn't the Qt configure notice the xine development files that
> I have installed? Xine seems to me more mature, and without so much
> trouble as the gstreamer stuff.
There are some things the Xine backend cannot do (and vice versa).
>
> So what do people on this list use to develop Qt+phonon? I have been
> struggling with this stuff for two days now.
What about joining the kde-devel mailing list? People using Phonon for
KDE apps hang there. You are also welcome to join the #phonon or
#kde-devel channels in the FreeNode IRC network.
Your other questions were answered by Jens but let me add: it seems
that you are mixing Kubuntu Qt and Phonon packages with your own Qt
and Phonon. That smells trouble. Kubuntu packages include patches from
qt-copy ( http://websvn.kde.org/trunk/qt-copy/patches/ ), which means
they are better than compiling your own Qt.
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
More information about the Qt-interest-old
mailing list