I am having a frustrating problem with cmake on windows. i have the kde libs installed.

when i am trying to compile my project with cmake . this shoots up again and again.

Qt Code:
  1. Found Qt-Version 4.7.0 (using C:/Qt/2010.05/qt/bin/qmake.exe)
  2. CMake Error at c:/Program Files/KDE/share/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:198 (MESSAGE):
  3. Did not find automoc4 (Automoc4Config.cmake, part of kdesupport).
  4. (missing: AUTOMOC4_EXECUTABLE)
  5. Call Stack (most recent call first):
  6. c:/Program Files/KDE/share/apps/cmake/modules/FindAutomoc4.cmake:56 (find_package_handle_standard_args)
  7. c:/Program Files/KDE/share/apps/cmake/modules/FindKDE4Internal.cmake:402 (find_package)
  8. C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
  9. CMakeLists.txt:96 (find_package)
  10.  
  11.  
  12. Configuring incomplete, errors occurred!
To copy to clipboard, switch view to plain text mode 

Well i was digging around the net for this problem. and i got the automoc4 file which were missing with the default kde-win-installer. So i downloaded the files and ran cmake for the automoc4 and got the automoc4.exe which i place in the %KDE_INSTALL%/bin folder. But luck was not with me. And again my favorite error fires up.

Help me on this!!