From a540f3f4e5524b5daf813b0bb831707f58545d43 Mon Sep 17 00:00:00 2001 From: kali Date: Thu, 15 Oct 2020 17:27:59 +0200 Subject: [pkg] windows gui & installer fixes --- docs/build.windows.rst | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3