On Friday 30 August 2013, Rikkin wrote:
> Hello,
> I'm getting an error when I try to Configure CMake. This is the error:
> 
> CMake Error at C:/Program Files (x86)/CMake
> 2.8/share/cmake-2.8/Modules/FindQt4.cmake:1382 (message):
>   Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x

This message looks a bit strange...

> Call Stack (most recent call first):
>   CMakeModules/ODQtUtils.cmake:32 (FIND_PACKAGE)
>   CMakeLists.txt:38 (OD_INIT_QT)
> 
> I do have a Qt version 4.x installed here. But the installer can't find it.
> 
> What I have to do?

For Qt, set the cmake variable QT_QMAKE_EXECUTABLE to the qmake.exe of teh Qt 
you want to use.

Or, as a more general solution, set the CMAKE_PREFIX_PATH environment variable 
so that it includes the base install directory of Qt.

Alex
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to