[Qt-interest] problem while compiling Qjson

Deepak Angeshwar angeshwar at gmail.com
Thu Sep 3 10:20:38 CEST 2009


All,

I am using CMake to compile the QJson.
I use CMake 2.6. When I try to configure using CMake I get the following
error

Unknown CMake command "qt4_wrap_cpp"

The complete log is

The C compiler identification is GNU
The CXX compiler identification is GNU
Check for working C compiler: C:/Qt/2009.03/mingw/bin/gcc.exe
Check for working C compiler: C:/Qt/2009.03/mingw/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: C:/Qt/2009.03/mingw/bin/g++.exe
Check for working CXX compiler: C:/Qt/2009.03/mingw/bin/g++.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:24 (qt4_wrap_cpp):
  Unknown CMake command "qt4_wrap_cpp".


Configuring incomplete, errors occurred!


Can some let me know how to fix this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090903/7524c10f/attachment.html 


More information about the Qt-interest-old mailing list