Update compilation authored by Karel Slaný's avatar Karel Slaný
......@@ -49,7 +49,7 @@ If you are a package maintainer you may want to disable the default checking for
qmake DISABLE_VERSION_NOTIFICATION=1 datovka.pro
```
### OS X
### macOS/OS X
Currently we use:
* `QT_VER="5.7.1"` with `SDK_VER="10.12"` for 32-bit builds,
......@@ -149,10 +149,30 @@ mingw32-make.exe
### Windows - Build Packages and Installer
Building of Datovka installer for Windows requires:
#### Since Datovka-4.11.1
We've modified the building procedure of the application since the version 4.11.1.
##### Building Required Libraries
In order to build all required third-party libraries you need to use a working MinGW toolchain. We are using MinGW on Ubuntu 16.04. Navigate to the application repository and run the following command:
``` shell
./scripts/build_libisds_mingw.sh
```
This will download and build all required libraries inside the directory `libs/shared_built/`. It will also create an `shared_built_DATE_UTCTIME_.tar.gz` archive inside `libs/` containing the built libraries.
Copy the archive into a Windows environment where the compilation procedure continues.
#### Preparing Windows Environment
#### Before Datovka-4.11.1
In order to build the Datovka installer for Windows you require:
* Windows 7 or later
* Qt5.2.1 or newer
* Qt-5.3.2 or newer
* Build of libisds and its dependencies compiled with MinGW.
* (NSIS)[http://nsis.sourceforge.net/Main_Page] (Nullsoft Scriptable Install System)
* (7-Zip)[http://www.7-zip.org/] archiver
......
......