... | ... | @@ -78,6 +78,18 @@ You need Xcode with Command Line Tools in order to compile and build the package |
|
|
sudo ln -s MacOSX.sdk MacOSX10.13.sdk
|
|
|
```
|
|
|
|
|
|
#### Datovka-4.16.0 and Newer
|
|
|
|
|
|
The building procedure is the same as for Datovka-4.10.2 but libdatovka is required.
|
|
|
|
|
|
In order to build all required libraries (excluding Qt5) you need to run the following command:
|
|
|
``` shell
|
|
|
cd libs
|
|
|
../scripts/build_libdatovka_osx.sh ${SDK_VER}
|
|
|
```
|
|
|
This will compile libdatovka (as a static and shared library) and its other dependencies and store them in a directory where it can be read by the script which compiles and builds the package.
|
|
|
|
|
|
|
|
|
#### Datovka-4.10.2 and Newer
|
|
|
|
|
|
A working Qt5 installation is required (minimal version is 5.2.1). In order to be able to use the building scripts you are required to provide Qt in those paths `Qt-${QT_VER}-macx-clang-[32|64]-macosx${SDK_VER}-[shared|static]` where:
|
... | ... | @@ -152,7 +164,7 @@ Building procedure of the Datovka application for Windows requires: |
|
|
|
|
|
* Windows 7 or later
|
|
|
* Qt5.2.1 or newer
|
|
|
* Build of libisds and its dependencies compiled with MinGW.
|
|
|
* Build of libdatovka and its dependencies compiled with MinGW.
|
|
|
|
|
|
You need to add the Qt tool chain (`C:\Qt\{Qtversion}\mingw{Mingwversion}\bin\`, `C:\Qt\Tools\mingw{Mingwversion}\bin\`) into the PATH environment variable. For example if you are using Qt5.4 then you probably must add `C:\Qt\5.4\mingw491_32\bin\;C:\Qt\Tools\mingw491_32\bin\`.
|
|
|
|
... | ... | @@ -179,7 +191,7 @@ We've modified the building procedure of the application since the version 4.11. |
|
|
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
|
|
|
./scripts/build_libdatovka_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.
|
... | ... | |