Why do phonon and kdelibs use their own FindQt4.cmake ?

Alexander Neundorf neundorf at kde.org
Tue Oct 11 19:21:43 UTC 2011


On Monday 10 October 2011, Ingo Klöcker wrote:
> On Sunday 09 October 2011, Alexander Neundorf wrote:
> > On Sunday 09 October 2011, Romain Perier wrote:
> > > Hi,
> > > 
> > > I don't understand something, why do phonon and kdelibs use their
> > > own FindQt4.cmake instead of the one provided by cmake ?
> > > There is probably a good reason, but I don't understand why.
> > 
> > We need fixes and enhancements in FindQt4.cmake faster than we can
> > depend on new released cmake versions. So we have our own copy,
> > which we can update whenever needed, instead of having to wait for
> > (a few) months for the next cmake release and then forcing every
> > developer to update its cmake.
> 
> Is this the only reason? What makes FindQt4 so special compared to
> everything else provided by cmake?

It is not special. We do the same with other find-modules.

> Why can we wait for the next cmake
> release for other libraries but not for Qt4?

See above, we do the same for other find-modules.
Otherwise we would have updated the required cmake version much more often.

> And how often did we need
> our FindQt4 because the one from cmake did not work?

For every major Qt release at least.

Alex


More information about the Kde-buildsystem mailing list