2017-01-19 03:53:50 +13:00
|
|
|
Harald Oehlmann
|
2017-01-19 05:39:41 +13:00
|
|
|
2017-01-18
|
|
|
|
|
|
|
|
(does not run jet, NO_PNG mandatory as png/zlib not in 64 bit)
|
2017-01-19 03:53:50 +13:00
|
|
|
|
|
|
|
How to build qzint.exe using:
|
2017-01-19 05:39:41 +13:00
|
|
|
- QT 5.7 installed in C:\qt\Qt5.7.1
|
|
|
|
32 bit (use the offline installer and the 32 bit package)
|
2017-01-19 03:53:50 +13:00
|
|
|
- MS Visual Studio 2015 (VC12)
|
|
|
|
|
|
|
|
Folder structure:
|
|
|
|
- zint source files in $ZH
|
|
|
|
-> this file is in $ZH\frontend_qt
|
|
|
|
- png1620.zip unzipped in $ZH\..\lpng
|
|
|
|
-> $ZH\..\lpng\png.h exists
|
|
|
|
- zlib128.zip unzipped in folder $ZH\..\zlib
|
|
|
|
-> $ZH\..\zlib\zlib.h exists
|
|
|
|
|
2017-01-19 05:39:41 +13:00
|
|
|
Build libpng:
|
|
|
|
Open $ZH\..\lpng\projects\vstudio with VS2015 gui and convert the project
|
2017-01-19 06:07:17 +13:00
|
|
|
Set Project settings->C++->Code Generation->Library: Multi-Threadded DLL /MD
|
2017-01-19 05:39:41 +13:00
|
|
|
Copy the zlib source as required by the make file (in my case: zlib-1.2.8)
|
|
|
|
Build targets "Release Library" for zlib and libpng.
|
|
|
|
|
2017-01-19 03:53:50 +13:00
|
|
|
Build zint
|
|
|
|
|
|
|
|
- Start in the start menu: "VS2015 x64 Native Tools-Eingabeaufforderung"
|
2017-01-19 05:39:41 +13:00
|
|
|
- set PATH=C:\Qt\Qt5.7.1\5.7\msvc2015\bin;%PATH%
|
2017-01-19 03:53:50 +13:00
|
|
|
- cd $ZH
|
|
|
|
- cd backend_qt
|
|
|
|
- qmake backend_qt.pro
|
|
|
|
- nmake clean
|
|
|
|
- nmake release
|
|
|
|
|
|
|
|
- cd ..\frontend_qt
|
|
|
|
- qmake frontend_qt.pro
|
|
|
|
- nmake clean
|
|
|
|
- nmake release
|
|
|
|
-> qzint.exe is in the release folder
|
2017-01-19 05:39:41 +13:00
|
|
|
|
|
|
|
For me, it only runs, if I add the following files in the folder (from the QT bin folder):
|
|
|
|
Qt5Core.dll
|
|
|
|
Qt5Gui.dll
|
|
|
|
Qt5Widgets.dll
|
|
|
|
|
|
|
|
InnoSetup Studio may be used to build the setup file.
|