Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
@@ -165,7 +165,22 @@ This will download and build all required libraries inside the directory `libs/s
...
@@ -165,7 +165,22 @@ This will download and build all required libraries inside the directory `libs/s
Copy the archive into a Windows environment where the compilation procedure continues.
Copy the archive into a Windows environment where the compilation procedure continues.
#### Preparing Windows Environment
##### Preparing Windows Environment
The compilation continues inside a Windows session. First extract the `shared_built_DATE_UTCTIME_.tar.gz` archive to the same location as it was created. The built libraries must be located inside the `libs\shared_built` subdirectory (i.e. You must have `libs\shared_built\bin`, `libs\shared_built\include` and `libs\shared_built\lib`).
In order to build the application you must have a working Qt installation. You must set the system or user-profile PATH variable to point to a working Qt profile (e.g. `c:\Qt\5.9.3\mingw53_32\bin`).
Also you must provide a minimal POSIX-compliant environment in order to run the scripts. We recommend that you use the Git Bash terminal session which is provided by the Git Windows package.
###### Compile Datovka
1. Open Git Bash.
2. Navigate to the datovka source directory.
3. Run `./scripts/build_windows_bundle.sh` in order to compile Datovka. This will create a directory `datovka.built` which contains all libraries and required files. The content of `datovka.built` can be used to create an application installer.
4. Run `./scripts/build_windows_bundle.sh --portable-data` in order to compile a portable version. This will create a directory `datovka-portable.built`.
> Don't run `./scripts/build_windows_bundle.sh` and `./scripts/build_windows_bundle.sh --portable-data` simultaneously as it will probably break the compilation process.