Re: [CMake] qt4_add_translation from build directory

2009-04-28 Thread Norbert Bokor
oops, i found the problem: the .qm files were listed in .qrc :) I have a small Qt project, with two .ts files. In the CMakeLists.txt I have the line QT4_ADD_TRANSLATION(qmfiles ${TRANSLATIONFILES}). It works perfectly when i run 'cmake . && make' from the source directory, but if I do the same f

[CMake] qt4_add_translation from build directory

2009-04-28 Thread Norbert Bokor
Hi guys, I have a small Qt project, with two .ts files. In the CMakeLists.txt I have the line QT4_ADD_TRANSLATION(qmfiles ${TRANSLATIONFILES}). It works perfectly when i run 'cmake . && make' from the source directory, but if I do the same from an other directory, I get an error from make. The