[CMake] Help:Using CMake with Eclipse

Mike Jackson imikejackson at gmail.com
Sat Jan 12 17:01:08 EST 2008


On Jan 12, 2008, at 2:19 PM, Yang, Y. wrote:

> Hi, All.
> I follow the instructions of the link: http://www.cmake.org/Wiki/ 
> CMake:Eclipse.
> I successfully build my application. However, when I try to use  
> CMake as external tool, the eclipse call it and show cmake cannot  
> find qmake.
>
> CMake Error: Qt qmake not found!
>
> How to configure eclipse's external tool enviroment and make cmake  
> can find qmake when it be called by eclipse?
>
> Thanks inadvance.
>
> Best regards.
>
> Yang
>

What operating system are you using? Usually I do not even need an  
external tool to run cmake. Can you bootstrap the process by doing  
the initial cmake from a terminal? When Eclipse runs make, any new  
items added to the CMakeLists.txt file will force cmake to run again  
and update the Makefiles..

---
  Mike


More information about the CMake mailing list