[Kde-pim] Accessing the addressbook from C++

Kevin Krammer kevin.krammer at gmx.at
Fri Aug 1 08:43:59 BST 2008


On Friday 01 August 2008, Christoph Kies wrote:

> It compiles and links with:
>
> g++  -I/usr/include/kde  -I/usr/include/qt3 -L/usr/lib/kde
> -L/usr/lib/qt3/lib -lkdecore -lkdepim -lqt-mt -g -o kabc_test kabc_test.cpp

You can also just link with libkabc instead of libkdepim if you do not need 
anything from libkdepim.

This has the advantage of not creating a dependency on the kdepim package 
(libkabc is part of kdelibs)

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/20080801/6fec9427/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