Load extensions/modules at runtime

Clarence Dang dang at kde.org
Wed Feb 23 12:45:04 GMT 2005


On Wed, 23 Feb 2005 12:43 pm, Mauricio Bahamonde wrote:
> On Tuesday 22 February 2005 22:12, Benjamin Meyer wrote:
> > For what it is worth if you check out the audiocd ioslave lame plugin you
> > will see exactly that.  The plugin at runtime attempts to load the lame
> > library to see if it is on the system.  The code is fugly though and if
> > it wasn't for the special circumstances I wouldn't have it like this.
> >  The reason being that distributions can now ship with the lame plugin
> > without requiring lame. Then if the user adds lame later on the plugin is
> > "automagically" enabled.
>
> Yes, this is exactly the approach I would like to see. It's surely a lot
> more work, but in the long term, it would benefit us all :-)
>
> Maybe for KDE 4 we can find out a new way of doing this, maybe with a
> cleaner method/code.
>
For Linux, grep this autopackage page for relaytool:

http://autopackage.org/developer-quickstart.html





More information about the kde-core-devel mailing list