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

Kevin Krammer kevin.krammer at gmx.at
Sat Oct 6 18:18:56 BST 2007


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

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

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20071006/46eb6216/attachment.sig>
-------------- next part --------------
_______________________________________________
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