On 02.04.09 16:46:51, Ivan Chupahin wrote: > Hi,folks! > > My project uses Qt4 and i need to generate *.h files from *.ui files. For > that i use QT4_WRAP_UI macro. But it generete *.h files in a derectory where > CMake is running.
That is the correct place. All generated files should be in the build directory and not the source directory. To be able to use #include "ui_foo.h" You should add CMAKE_CURRENT_BINARY_DIR and/or CMAKE_BINARY_DIR to your include directories. Andreas -- Your lucky number has been disconnected. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
