[CMake] error with FindQt4.cmake (on master)

Clinton Stimpson clinton at elemtech.com
Wed Feb 23 16:26:35 EST 2011


On Wednesday, February 23, 2011 02:12:12 pm Arnaud GELAS wrote:
> Hi all,
> 
> 
> I have just pulled from master, and in my project I can't get the
> QT_VERSION_MINOR
> 
> 
> Here is what I get when configuring my project:
> 
> -- Found Qt4: /usr/bin/qmake-qt4 (found version "4.7.1")
> 
> CMake Error at CMakeLists.txt:446 (MESSAGE):
> 
> GoFigure2 requires Qt4.5 (or newer version) to be installed
> 
> 
> QT_VERSION_MAJOR and QT_VERSION_MINOR are empty...
> 
> 
> It was working before (with previous master version)...
> 
> 
> Should I track down this error with 'git bisect' or anyone know what
> could be wrong?
> 

No need for a git bisect.  Now that you mention this, I know which commit did 
this (it was merged into master yesterday), and I can look at it.

Also, you could change your CMakeLists.txt to use
find_package(Qt4 4.5)
to have it check the minimum version number for you.

-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com


More information about the CMake mailing list