FindQt4.cmake in kdelibs differs from cmake version

Andreas Pakulat apaku at gmx.de
Mon May 25 15:15:12 CEST 2009


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.

Does somebody know why kdelibs has its own FindQt4.cmake? If it needs to
stay should just QTVERSION be advertized or should also QT_VERSION_XXX be
added?

Andreas

-- 
This will be a memorable month -- no matter how hard you try to forget it.


More information about the Kde-buildsystem mailing list