![]() Registered Member ![]()
|
Hi,
a small Qt program using Phonon like the following one, wrote and compiled under Qt Creator 2.0 and Qt 4.6.3 compiles. However, it runs under GNOME and IceWM, but NOT under KDE 4.4.3, under my Mandriva Linux 2010.1 Pwp : any attempt to run it gives an error message :
and the program stops immediately. Any Qt program not using Phonon runs correctly. Why this problem with Phonon under KDE ?? Do you know any possibility to avoid it ? Here is this sample program :
Last edited by ptyxs on Tue Jul 20, 2010 6:00 am, edited 1 time in total.
|
![]() Administrator ![]()
|
The problem is that the Phonon library you have built does not have Pulseaudio support compiled in, yet the GStreamer backend present does have it compiled in.
Please recompile Phonon completely, with the appropriate *-devel packages installed. Also ensure that your libraries are found correctly, by setting LD_LIBRARY_PATHS to the appropriate library directories.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thank you for your answer.
I installed Phonon indirectly from the .bin file "Qt Sdk for Linux" from the official Qt site. On my Linux distribution repositories I don't see any specific Phonon package. Nor do I find any specific Phonon package on Qt offcial site. Where do you suggest I can find a specific appropriate Phonon package to compile on my computer ? |
![]() Administrator ![]()
|
Qt ships with it a snapshot of Phonon. Unfortunately, all versions prior to Qt 4.7 contain and outdated snapshot.
Phonon uses Git as it's source code management system, and can be cloned from http://gitorious.org/phonon/phonon
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks for these information.
I am however rather surprised that KDE (differently than other Linux Desktops) could not make it possible to run current Qt Phonon version under KDE environments, as long as Qt 4.7 is not available ! Please care a lot for your users comfort !! |
![]() Administrator ![]()
|
The problem in question is that KDE is the Phonon Upstream, and Qt simply ships a snapshot of it. As a result, recent enhancements, such as the addition of Pulseaudio support, and the ability to retrieve raw audio and video data were done upstream in KDE, and only recently synced in by Qt.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft