A little review of kdecore & kdeui

Thiago Macieira thiago at kde.org
Sat Apr 8 09:45:01 BST 2006


Simon Hausmann wrote:
>It may just require a bit of grouping to avoid dragging in for example
> QtSql when linking against a static library just to pull in a little
> helper class that only requires QtCore. So classes would have to be
> grouped a little bit by their underlying dependencies. But I'm not sure
> if we would run into this problem a lot anyway.

There are 3 ways to solve the dependency problem, as far as I see it:
1) keep it in a separate file -- this is the libtool solution
2) define the exact set of libraries that it requires, to be chosen from 
the libraries that all KDE apps link to (namely, some of these: QtCore, 
QtGui, kdecore, kdeui, kio)
3) not define anything at all and let the developer figure out what the 
dependencies are -- this is the Windows style

-- 
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060408/dabd0c71/attachment.sig>


More information about the kde-core-devel mailing list