Hi,
I've just merged changes which remove the qmake-based setup. Trojita is now 
supposed to be built by cmake.

Instructions on how to do this are at the website [1], but in a nutshell:

$ mkdir _build; cd _build $ cmake -DCMAKE_BUILD_TYPE=debug ..
$ make -j4
$ ctest -j 4 --output-on-failure
$ ./trojita

You're supposed to remove your build directory and start from scratch when 
you've previously built from git; qmake and cmake are not compatible.

Notes to packagers:

There's a couple differences between cmake and qmake; please see [2] for 
details on what is needed. Please keep in mind that cmake-2.8.7 or newer is 
required. In case of Qt5, upstream Qt project requires cmake 2.8.9 or newer.

The cmake setup recognizes the following options and switches:

* -DWITH_QT5=1 to switch to Qt5

* -DWITH_RAGEL=1 to regenerate the state machine for RFC5322 parsing at build 
time

* -DWITHOUT_ZLIB=1 to disable automagic dependency on zlib

* -DWITHOUT_TESTS=1 to disable building of unit tests

* -DHARMATTAN=1 for building the Harmattan version (see README.harmattan for 
instructions)

Cheers,
Jan

[1] http://trojita.flaska.net/download.html
[2] 
http://quickgit.kde.org/?p=trojita.git&a=commitdiff&h=a15eb7bdcd8f6beec8881786ba2753b0a5a0894e

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to