Hi, There is a problem with KABC_DIR_EXPORT. When building kabc/plugins/dir/* it should be exporting and not importing. The other macros are properly defined (like KABC_EXPORT in kabc/kabc.h) and by doing so it fixes the error (C2491). My question is where KABC_DIR_EXPORT is being defined? Paulo