[CMake] Feature request

Jack Kelly endgame.dos at gmail.com
Fri Aug 31 16:10:15 EDT 2007


Matthew Smith wrote:
> I'd like to ask if there is a CMake variable for the version of Qt that 
> is present in a project?  I've looked in my cache file and have never 
> found one, even though the version number is displayed at configure 
> stage when compiling the project.

Hi Matthew,

FindQt.cmake in the default installation (for me, anyway. CMake 2.4.7) 
will set QT4_INSTALLED to TRUE if Qt4 is found and similarly for 
QT3_INSTALLED, but they aren't cache variables.

Will they do what you want?

-- Jack


More information about the CMake mailing list