[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Dolphin: plugin loading problem
From:       Peter Penz <peter.penz () gmx ! at>
Date:       2009-11-04 22:31:49
Message-ID: 200911042331.49282.peter.penz () gmx ! at
[Download RAW message or body]

On Wednesday, 4. November 2009 23:23:13 Aaron J. Seigo wrote:
> On November 4, 2009, Peter Penz wrote:
> > I checked http://techbase.kde.org/Development/Tutorials/Services/Plugins
> >  but don't understand how to deal with "The Plugin Factory Macro" and
> > guess that is missing in my SVN plugin...
>
> sth like this in your plugin's .cpp file:
>
> K_PLUGIN_FACTORY(factory, registerPlugin<$CLASSNAME>();)
> K_EXPORT_PLUGIN(factory($LIBRARYNAME))
>
> replacing the $variables with the respective values (library name doesn't
> include the .so suffix of course :)

Thanks, I'll try this during the weekend.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic