FindQt4.cmake in kdelibs differs from cmake version

Andreas Pakulat apaku at gmx.de
Thu May 28 23:39:32 CEST 2009


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.

Andreas

-- 
You have an ambitious nature and may make a name for yourself.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs_find_qt4_add_version_vars.diff
Type: text/x-diff
Size: 1821 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20090528/9694d5a9/attachment.bin 


More information about the Kde-buildsystem mailing list