FS#27850 - Phonon Backend Plugin could not be loaded
Attached to Project:
Arch Linux
Opened by Lone_Wolf (Lone_Wolf) - Friday, 06 January 2012, 15:39 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 08 February 2012, 14:43 GMT
Opened by Lone_Wolf (Lone_Wolf) - Friday, 06 January 2012, 15:39 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 08 February 2012, 14:43 GMT
|
Details
After upgrade to phonon 1:4.6.0-1 pure QT applications no
longer can use sound .
Logs show this : Warning::bool Phonon::FactoryPrivate::CreateBackend Phonon Backend Plugin could not be loaded This happens both with phonon-vlc and phonon-gstreamer backends. Phonon 1:4.5.1-2 does not have this problem. in 1:4.6.0-1 this line was added to the pkgbuild : + -DPHONON_QT_PLUGIN_INSTALL_DIR=/usr/lib/qt/plugins/designer Both phonon-vlc and phonon-gstreamer install to usr/lib/kde4/plugins/phonon_backend/ |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Wednesday, 08 February 2012, 14:43 GMT
Reason for closing: Fixed
Additional comments about closing: phonon 1:4.6.0-2
Wednesday, 08 February 2012, 14:43 GMT
Reason for closing: Fixed
Additional comments about closing: phonon 1:4.6.0-2
However you could set the QT_PLUGIN_PATH this way:
export QT_PLUGIN_PATH=$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/
FS#11070.You can fix the problem by linking the (kde-)phonon backend plugin directory to the (qt-)phonon plugin directory:
# ln -s /usr/lib/kde4/plugins/phonon_backend/ /usr/lib/qt/plugins/
Qt looks for plugins in /usr/lib/qt/plugins/, but as we use phonon (and backend plugins) provided by KDE, they are located in usr/lib/kde4/plugins/.
why not a symlink in the package to fix that ?
or create a profile file in /etc/profile.d to export the variable.
http://pkgbuild.com/~andrea/pkgs/phonon/trunk/phonon-1:4.6.0-2-i686.pkg.tar.xz
http://pkgbuild.com/~andrea/pkgs/phonon/trunk/phonon-1:4.6.0-2-x86_64.pkg.tar.xz