misc fixes authored by Karel Slaný's avatar Karel Slaný
......@@ -5,7 +5,7 @@ Project depends on Qt5. Minimal Qt version which the project is tested on is Qt-
### Prerequisites
* Qt5 (at least version 5.2.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)
### Linux/UNIX
......@@ -62,37 +62,27 @@ The following script builds the .dmg package if the application has already been
./scripts/build_dmg.sh
```
### WINDOWS - build only Datovka application
### WINDOWS - Building the Application
Building of Datovka application for Windows requires:
Building procedure of the Datovka application for Windows requires:
* Windows 7 or latest
* Qt5.2.1 or latest
* Build of libisds and its dependencies with MinGW
Adding Qt toolchain to PATH Environment Variable in Windows:
* C:\Qt\{Qtversion}\mingw{Mingwversion}\bin\
* C:\Qt\Tools\mingw{Mingwversion}\bin\
* Windows 7 or later
* Qt5.2.1 or newer
* Build of libisds and its dependencies compiled with MinGW.
e.g. for Qt5.4
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\`.
* C:\Qt\5.4\mingw491_32\bin\
* C:\Qt\Tools\mingw491_32\bin\
Running the following commands should do the trick:
The command
In order to build the application then run the command:
``` shell
qmake.exe datovka.pro -r -spec win32-g++
mingw32-make.exe
```
or
For building the portable version run:
``` shell
qmake.exe datovka.pro PORTABLE_APPLICATION=1 -r -spec win32-g++
mingw32-make.exe
```
for portable version.
### WINDOWS - build Datovka packages
......
......