Phonon newbie problem
Matthias Kretz
kretz at kde.org
Sun Dec 9 10:11:19 GMT 2007
On Sunday 09 December 2007, Yogesh Marwaha wrote:
> I'm trying to use Phonon in my app (Qt4) but when it is run an error
> "cannot create path" is generated. This also happens for tutorial2 in
> Phonon svn, though amarok(4) works. (all are run in KDE3); but when I run
> them in KDE4 they all work. What is the reason behind this behaviour? KDE4
> still is not usable enough for me and so I want to use KDE3 and (still) use
> Phonon. Any help will be appreciated.
Hi,
is "cannot create path" really the first error you get? I assume it's a
follow-up error to "cannot create backend". QPluginLoader needs to find a
plugin installed in the KDE4 prefix. To make it do that:
export QT_PLUGIN_PATH=$KDEDIR/lib/kde4/plugins
startkde in KDE4 does it for you, that's why it works automatically. Also
KApplication hardcodes the path and adds it to the library paths so that all
KDE4 apps will work correctly regardless of the QT_PLUGIN_PATH being set.
This will not be necessary anymore once Qt starts shipping backends...
--
________________________________________________________
Matthias Kretz (Germany) <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20071209/8fb5445c/attachment.sig>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia
More information about the kde-multimedia
mailing list