Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, September 2007
Qt Linguist with cmake


Message 1 in thread

Hi

I want to use Qt Linguist  in a project that uses cmake instead of the
qmake tool, do anybody know how to specify the ts file in the cmake
file.

regards
// anders

--
 [ signature omitted ] 

Message 2 in thread

On Wednesday 12 September 2007 3:20:26 am Anders Sandholm wrote:
> Hi
>
> I want to use Qt Linguist  in a project that uses cmake instead of the
> qmake tool, do anybody know how to specify the ts file in the cmake
> file.
>
> regards
> // anders
>

Probably something along the lines of calling FIND_PROGRAM() to find lrelease, 
then ADD_CUSTOM_COMAND() to create the qm files.

Have a look at FindQt4.cmake for guidance.

Clint

--
 [ signature omitted ]