[CMake] CMake & FindQT4.cmake

Alexander Neundorf a.neundorf-work at gmx.net
Tue Jan 17 10:58:40 EST 2006


> Von: xavier delannoy <xavier.delannoy at gmail.com> 
>  
> Hi all, 
>  
> I try to use CMake with a QT project. I have include FindQT4.cmake but 
> CMake 
> doesn't know : QT4_WARP_UI && QT4_ADD_RESOURCE. 
>  
> here is the ouput of CMake : 
>  
> -- This is a CVS repository 
> -- Using Buildname: Darwin-c++ 
> -- Found Qt-Version .. 
> CMake Error: Error in cmake code at 
> Projects/src/gui/CMakeLists.txt:35: 
> Unknown CMake command "QT4_WARP_UI". 
> CMake Error: Error in cmake code at 
> Projects/src/gui/CMakeLists.txt:39: 
> Unknown CMake command "QT4_ADD_RESOURCE". 
> -- Configuring done 
 
You should try QT4_WRAP_UI (typo on your side) and QT4_ADD_RESOURCES 
(typo in the documentation) 
 
Alex 
 

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie


More information about the CMake mailing list