FindQt4.cmake in kdelibs differs from cmake version

Alexander Neundorf neundorf at kde.org
Thu May 28 23:49:45 CEST 2009


On Thursday 28 May 2009, Andreas Pakulat wrote:
> On 28.05.09 22:32:58, Alexander Neundorf wrote:
> > On Monday 25 May 2009, Andreas Pakulat wrote:
> > > Hi,
> > >
> > > I just came across a not-so-nice difference between the FindQt4.cmake
> > > in kdelibs vs. the one in cmake 2.6.4. The kdelibs version doesn't set
> > > QT_VERSION_<MAJOR/MINOR/PATCH> while the cmake one does set them.
> > > Additionally the kdelibs-version version doesn't advertize the
> > > QTVERSION variable that it sets in its documentation, leaving the user
> > > without a clue how to find out the Qt version that has been found.
> >
> > So we should sync this part.
> > I'd say the MAJOR/MINOR/PATCH should be added, and the QTVERSION should
> > stay undocumented.
>
> Patch is attached.

No objections.

Alex


More information about the Kde-buildsystem mailing list