On 26/09/10 20:48, Cristian Morales Vega wrote:
2010/9/26 todd rme
: On Sun, Sep 26, 2010 at 1:52 PM, Cristian Morales Vega
wrote: 2010/9/26 Markus Koßmann
: Am Sonntag, 26. September 2010 schrieb Cristian Morales Vega:
Someone can explain me the relation between Qt and Phonon?
My problem is that Stellarium fails because it can't find "phonon/phonon" from
#ifdef HAVE_QT_PHONON #include
#endif And libphonon-devel doesn't helps here.
Looking at the Fedora Qt package it seems it can include libphonon itself, with an internal copy, or use an external libphonon... but using that external libphonon for some kind of specific Qt-Phonon thing. But looking at the openSUSE Qt package it seems the "Qt-Phonon thing" is ignored, and since libphonon is build from the external package, nothing related to Phonon is installed in the Qt package. Is this a bug in the openSUSE Qt package?
Are you sure. that this isn't a bug in the stellarium sources ?
No, that's why I ask :-)
This include directive causes the compiler to search for a file /usr/include/phonon/phonon (unless it uses additional -I directives in the compiler command line). But AFAIK phonon still follows the convention to use a .h suffix for its header files.
What about just commenting out that line and if it is throwing follow up errors then, try to find the headers which contains the missing definitions and include it there instead.
I don't even tested, in part because I saw in the Stellarium wiki a: "NOTE: In Ubuntu 9.10 you should install the libqt4-phonon-dev package, but NOT the libphonon-dev package." and I just supposed there was some kind of Qt Phonon wrapper or something similar. But now looking at the Ubuntu packages I see libqt4-phonon-dev is just a "transition package" without any real file and that just requires libphonon-devel. The funny part is that Ubuntu's libphonon-devel package includes a /usr/include/qt4/phonon/phonon file (http://packages.ubuntu.com/lucid/amd64/libphonon-dev/filelist)
So... now I will look deeper at the problem.
I am testing a fix now. If it works I will submit it back to the Education project.
Thanks, but I already made it work. I will submit once the susehelp thing is clear and I know why in the "audiotest" script the wav and mp3 files don't work, while the ogg one plays just fine.
That sounds like a codec problem. To play mp3's and wav's you probably need libxine1-codecs and maybe w32codecs-all (from packman), and phonon-backend-xine -- or alternatively fluendo's gstreamer-plugin-mp3 and phonon-backend-gstreamer. Obviously this isn't possible on the OBS; is that where you are testing? Regards, Tejas -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org