diff options
author | kali <kali@win> | 2020-10-15 17:27:59 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-10-23 23:22:54 +0200 |
commit | a540f3f4e5524b5daf813b0bb831707f58545d43 (patch) | |
tree | 43f08367f5f61342359805f50de56332b1ea5212 /docs | |
parent | 0176694cf5c418134a9eb183e021d03073065474 (diff) |
[pkg] windows gui & installer fixes
Diffstat (limited to 'docs')
-rw-r--r-- | docs/build.windows.rst | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/docs/build.windows.rst b/docs/build.windows.rst index 9fa0ff9..1e8364d 100644 --- a/docs/build.windows.rst +++ b/docs/build.windows.rst @@ -1,10 +1,17 @@ -windows build notes (still some manual steps needed, this should be further automated). -======================================================================================= -(deprecated) - -PROVIDER=DemoLib make helper -INSTALLER_DATA=branding/qtinstaller/packages/root.win_x86_64/data/ -mkdir -p INSTALLER_DATA -mv main.exe ${INSTALLER_DATA}/helper.exe -TARGET=demolib-vpn make build -TARGET=demolib-vpn make installer_win +windows build +============= + +The build currently expects MINGW64 environment, on a native windows host. +A cross-compiling procedure (at least for the application binaries) should be possible in the near future, using mxe. + +You should install make, as well as a recent Qt5 version (for instance, with chocolatey: choco install make). + +(In order to avoid makefiles, you are welcome to submit a port of the build scripts using powershell or cscript - see the build.wsf script in openvpn-build for inspiration). + +For the installer, install QtIFW for windows (tested with version 3.2.2). + +Assuming you have the vendor path in place and correctly configured, all you need to do is `make build_installer`:: + + export PATH="/c/Qt/Qt5/bin/":"/c/Qt/QtIFW-3.2.2/bin":$PATH + VENDOR_PATH=providers/ + make build_installer |