Update compilation authored by Karel Slaný's avatar Karel Slaný
...@@ -8,16 +8,19 @@ Project depends on Qt5. ~~Minimal Qt version which the project is tested on is Q ...@@ -8,16 +8,19 @@ Project depends on Qt5. ~~Minimal Qt version which the project is tested on is Q
* Qt5 (at least version 5.3.0) -- Qt5 must contain sqlite support. * Qt5 (at least version 5.3.0) -- Qt5 must contain sqlite support.
* qmake (Should be part of some Qt5 development package.) * qmake (Should be part of some Qt5 development package.)
* libisds (+ development package) * libdatovka (+ development package)
* libisds (+ development package) is required to build Datovka before version 4.16.0.
> Datovka-4.14.0 and newer versions of Datovka require libisds-0.11 in order compile and function properly. > Datovka-4.16.0 and newer versions of Datovka require libdatovka-0.1.0 in order to compile and function properly.
> Datovka-4.10.3 and newer versions of Datovka require libisds-0.10.8 in order compile and function properly. > Datovka-4.14.0 and newer versions of Datovka require libisds-0.11 in order to compile and function properly.
> Datovka-4.10.3 and newer versions of Datovka require libisds-0.10.8 in order to compile and function properly.
> Datovka-4.9.1 and newer versions of Datovka require libisds-0.10.7 in order to compile and function properly. > Datovka-4.9.1 and newer versions of Datovka require libisds-0.10.7 in order to compile and function properly.
> We recommend compiling [libisds](http://xpisar.wz.cz/libisds/) with the OpenSSL back-end option enabled to avoid [this problem](https://gitlab.labs.nic.cz/datovka/datovka/wikis/help#na-linuxov%C3%A9-distribuci-kterou-pou%C5%BE%C3%ADv%C3%A1m-p%C5%99ev%C3%A1%C5%BEn%C4%9B-debianubuntu-nejdou-stahovat-zpr%C3%A1vy) (#6). (Use `./configure --enable-openssl-backend` when configuring libisds sources.) > We recommend compiling libdatovka and [libisds](http://xpisar.wz.cz/libisds/) with the OpenSSL back-end option enabled to avoid [this problem](https://gitlab.labs.nic.cz/datovka/datovka/wikis/help#na-linuxov%C3%A9-distribuci-kterou-pou%C5%BE%C3%ADv%C3%A1m-p%C5%99ev%C3%A1%C5%BEn%C4%9B-debianubuntu-nejdou-stahovat-zpr%C3%A1vy) (#6). (Use `./configure --enable-openssl-backend` when configuring libdatovka sources.)
> If you want to experiment with libisds then it is probably best to compile it from sources: > If you want to experiment with libdatovka then it is probably best to compile it from sources:
``` shell ``` shell
./configure --enable-debug --enable-openssl-backend --disable-fatalwarnings --disable-nls --enable-test ./configure --enable-debug --enable-openssl-backend --disable-fatalwarnings --disable-nls --enable-test
make make
...@@ -26,7 +29,7 @@ sudo make install ...@@ -26,7 +29,7 @@ sudo make install
### Linux/UNIX ### Linux/UNIX
We don't currently use Autotools. The project directly relies on libisds, OpenSSL and Qt5 which should be installed in the system. We don't currently use Autotools. The project directly relies on libdatovka, OpenSSL and Qt5 which should be installed in the system.
Since Datovka 4.5 you must run the `lrelease` command manually. Since Datovka 4.5 you must run the `lrelease` command manually.
... ...
......