[CMake] FindQt4 qt version message

Brad King brad.king at kitware.com
Wed Feb 8 09:52:00 EST 2006


Tanner Lovelace wrote:
> In FindQt4.cmake the following line doesn't print out
> a correct version number:
> 
> MESSAGE(STATUS "Found Qt-Version
> ${QT_INST_MAJOR_VERSION}.${QT_INST_MINOR_VERSION}.${QT_INST_PATCH_VERSION}")
> 
> Instead, since the major/minor/patch version variables don't ever
> get set, it prints out this:
> 
> Found Qt-Version ..
> 
> Could it be changed to this instead?
> 
> MESSAGE(STATUS "Found Qt-Version ${QTVERSION}")
> 
> QTVERSION is set by querying qmake for the version.

Fixed.

-Brad


More information about the CMake mailing list