[PATCH] Phonon Gstreamer backend

Andre Magalhaes andrunko at gmail.com
Mon Jan 21 18:34:15 GMT 2008


On Jan 21, 2008 3:04 PM, Matthias Kretz <kretz at kde.org> wrote:
> The kde4_phonon_kdepluginfactory.cpp looks good, but I'd like to avoid the
> makeLibName function. One way to achieve that would be a, IMHO, sane
> QPluginLoader which does the correct thing itself. Brad, after our last chat
> about QPluginLoader, will Qt4.4 be able to just take a library name without
> lib prefix and without extension like QLibrary does?
>
> If it won't work in Qt 4.4 (or if we need to stay compatible with 4.3) I
> suggest to use
> cData.dirs()->findAllResources("module", newService->library +
> QLatin1String(".\*"));
> And then iterate over those to find one that works (like it does in
> factory.cpp).
Done. New patch attached. I believe we should still be compatible with 4.3, at
least for now.

-- 
Andre Moreira Magalhaes (andrunko)
--------------------------------------------------------
Jabber: andrunko at gmail.com
MSN:   andremoreira at msn.com
Skype:  andrunko
Blog:    http://andrunko.blogspot.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kde4_phonon_kdepluginfactory.cpp
Type: text/x-c++src
Size: 1170 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080121/44b3f87b/attachment.cpp>


More information about the kde-core-devel mailing list