Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

QT - KDE raise device error using Phonon

$
0
0
My application need to play mp3. I’m not familiar with QT (learning from half year). I started from QT 5.0.2 which worked perfect except that it can’t use oxygen on my KDE enviromnent. So due to this cosmetic problem (I will use this app too :P ) I tried to use QT 4.8. Theme is now ok but it uses Phonon library for audio output (QT5 is using something new). QT 4.8 also doesn’t provide binaries for linux unlike QT 5.0.2, so I needed to compile it by my self (first time). After 3 hours of compiling I finally get my QT binaries. MediaPlayer examples run but when try to play music I get few errors about phonon backends, music doesn’t play. I googled a lot, finally installed depended packages (like gstreamer, gstreamer-plugins-base etc) and recompiled QT with flags ./configure -glib -phonon -phonon-backend (I did make confclean if someone ask). After 3 hours of compiling (again) I finally see some phonon libs. Running MediaPlayer demo, at start I get KDE info in task manager: The audio playback device doesn’t work. Falling back to default and error in log output (but this time only one) Music Player(29292)/phonon (KDE plugin): Can not create backend object from factory for “GStreamer” , “phonon_gstreamer” : “Could not find plugin ‘GStreamer’ for application ‘Music Player’” But music is playing. Anyone can help me? What did I miss? I don’t want to lose another 3 hours of compiling.

Viewing all articles
Browse latest Browse all 13965

Trending Articles