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

List:       kde-pim
Subject:    [Kde-pim] Fix for plugin loading
From:       "Best, Jan-Pascal van" <j.p.vanbest () tbm ! tudelft ! nl>
Date:       2002-08-27 10:57:22
[Download RAW message or body]

Hi all,

I just checked in fix for the plugin-loading problem. It turned out
that KOrg::Plugin didn't inherit KLibFractory _public_ly. The patch
--- plugin.h    2001/09/20 10:10:09     1.3
+++ plugin.h    2002/08/27 10:54:32
@@ -36,7 +36,7 @@ class Plugin {
     virtual void configure(QWidget *) {};
 };

-class PluginFactory : KLibFactory {
+class PluginFactory : public KLibFactory {
   public:
     virtual Plugin *create() = 0;

did the trick. What I don't know is why plugin loading worked all
the time for Cornelius. Maybe you're using a different compiler or
some special CFLAGS?

Cheers

Jan-Pascal


-- 
Jan-Pascal van Best
Delft University of Technology
http://www.tbm.tudelft.nl/webstaf/janb/index.htm 
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

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