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
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to