... | ... | @@ -84,25 +84,25 @@ qmake.exe datovka.pro PORTABLE_APPLICATION=1 -r -spec win32-g++ |
|
|
mingw32-make.exe
|
|
|
```
|
|
|
|
|
|
### WINDOWS - build Datovka packages
|
|
|
### WINDOWS - Build Packages and Installer
|
|
|
|
|
|
Building of Datovka packages for Windows requires:
|
|
|
Building of Datovka installer for Windows requires:
|
|
|
|
|
|
* Windows 7 or latest
|
|
|
* Qt5.2.1 or latest
|
|
|
* NSIS (Nullsoft Scriptable Install System) available on the [http://nsis.sourceforge.net/Main_Page]
|
|
|
* 7-Zip archiver available on the [http://www.7-zip.org/]
|
|
|
* Build of libisds and its dependencies with MinGW
|
|
|
* Windows 7 or later
|
|
|
* Qt5.2.1 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
|
|
|
|
|
|
1) Create folder "dlls" in the root of project and copy all required dll files (libisds.dll, openssl.dll, ...) here. The list of required files you can see in the "\notes\libdepends.win".
|
|
|
1. Create folder `dlls` in the root of the project directory and copy all required libraries (libisds.dll, openssl.dll, ...) here. The file `notes\libdepends.win` contains the list of required files.
|
|
|
|
|
|
2) Copy additional NSIS libraries (ReplaceInFile.nsh, StrRep.nsh) from "nsis\nsis-libs\" to c:\Program Files (x86)\NSIS\Include\
|
|
|
2. Copy additional NSIS libraries (`ReplaceInFile.nsh`, `StrRep.nsh`) from `nsis\nsis-libs\` to `c:\Program Files (x86)\NSIS\Include\`.
|
|
|
|
|
|
3) Edit "\scripts\make-win.bat" batch file and set correct Qt toolchain, NSIS and 7-Zip paths:
|
|
|
* set QTPATH="C:\Qt\{Qtversion}\mingw{Mingwversion}\bin\"
|
|
|
* set QTMAKEPATH="C:\Qt\Tools\mingw{Mingwversion}\bin\"
|
|
|
* set NSISPATH="C:\Program Files (x86)\NSIS\makensis.exe"
|
|
|
* set ZIPPATH="C:\Program Files (x86)\7-Zip\7z.exe"
|
|
|
3. Edit "\scripts\make-win.bat" batch file and set correct Qt toolchain, NSIS and 7-Zip paths:
|
|
|
* set QTPATH="C:\Qt\{Qtversion}\mingw{Mingwversion}\bin\"
|
|
|
* set QTMAKEPATH="C:\Qt\Tools\mingw{Mingwversion}\bin\"
|
|
|
* set NSISPATH="C:\Program Files (x86)\NSIS\makensis.exe"
|
|
|
* set ZIPPATH="C:\Program Files (x86)\7-Zip\7z.exe"
|
|
|
|
|
|
4) Run
|
|
|
``` shell
|
... | ... | |