From kde-core-devel Sat Mar 04 11:12:37 2006 From: Nicolas Goutte Date: Sat, 04 Mar 2006 11:12:37 +0000 To: kde-core-devel Subject: Re: KDE4 Libs components Message-Id: <200603041212.37965.nicolasg () snafu ! de> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=114147075900388 On Saturday 04 March 2006 11:33, Olivier Goffart wrote: > Le Vendredi 3 Mars 2006 23:31, Gary Greene a écrit : > > The main reason for splitting them into different libraries is that then > > a Qt app developer who wants to use a feature isn't tied to the extra > > stuff in kdelibs, since it's pure qt and c++ in these "foundation" > > libraries. Yes, there may rise a case where we want to extend a class > > that has dependencies on both core and foundation, but that just means > > that we have to engineer and plan better is all. I for one will be happy > > to see this split done as apps then can be purely qt if they wish and > > take advantage of some of the foundation classes without pulling in all > > of kdelibs, thus keepingthe footprint of an app down. > > But theses class still may be placed in the normal kdelibs library. > > If the Qt application author want to reuse the KFoo class, he just need to > copy kfoo.{cpp,h} into his own application. No matter in what library the > class is > > We probably just need to have a document that say which class doesn't > depends of others KDE code too much. Putting it in a special placeforces to remind developers to take care about that independency. Otherwise it is too easy to forget and to create a dependency that is not wanted. Have a nice day!