[Kde-pim] Bad(?) LibLoader runtime output

Allen Winter winter at kde.org
Sun Oct 7 23:37:01 BST 2007


On Saturday 06 October 2007 1:18:56 pm Kevin Krammer wrote:
> Hi all,
> 
> when I run KAddressBook I get output like this
> 
> kaddressbook(3167)/kresources KRES::Factory::Private::resourceInternal: 
> Factory::resource( "file" , config )
> kaddressbook(3167)/kdecore (KLibLoader) kde4Factory: The 
> library "/dvl/kde/trunk/install/lib/kde4/kabc_file.so" does not offer a 
> qt_plugin_instance function.
> 
> I can get rid of it by doing this
> 
I discussed this with Matthias earlier today and he mentioned
that your fix will work ok.  BTW: all the kabc/plugins need this type of fix.

But Matthias also mentioned that he wanted to make some
changes to kresources/resource.* .  So, please don't
commit until Matthias responds with a plan forward.


-Allen

> Index: resourcefileplugin.cpp
> ===================================================================
> --- resourcefileplugin.cpp (Revision 722123)
> +++ resourcefileplugin.cpp (Arbeitskopie)
> @@ -23,10 +23,6 @@
> 
>  using namespace KABC;
> 
> -extern "C"
> -{
> -  KDE_EXPORT void *init_kabc_file()
> -  {
> -    return new KRES::PluginFactory<ResourceFile, ResourceFileConfig>();
> -  }
> -}
> +typedef KRES::PluginFactory<ResourceFile, ResourceFileConfig> 
> ResourceFileFactory;
> +
> +K_EXPORT_PLUGIN(ResourceFileFactory)
> 
> 
> Do we care about this?
> 
> Cheers,
> Kevin
> 



-- 
KDEPIM Developer
I accept PayPal payments to awinterz at earthlink.net
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list