[Kde-pim] Cyclic link dependencies in kdepimlibs - how to resolve?

Thomas McGuire mcguire at kde.org
Mon May 4 23:40:10 BST 2009


Hi,

now that KPIMTextEdit is basically complete, I wanted to support images in 
signatures.
The signature editor is in kpimidentities, so kpimidentities needs to link to 
kpimtextedit so that the signature editor there can support images.

Problem is, kpimtextedit already links to kpimidentities, because it has some 
functions to insert signatures into the text edit.

So there is a link cycle between kpimtextedit and kpimidentities, and CMake 
won't let me do that.

Any idea how to resolve that? One idea would be to move all of kpimtextedit 
(two classes at the moment) to kpimidentities and get rid of the kpimtextedit 
library altogether.
The downside of this is that a text edit doesn't really fit there.

Does anybody see a better way out of this situation?
If not I'll move the classes soon.

Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090505/ce9b90b8/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