Deploying Windows to Windows 64 bit Static - therecipe/qt GitHub Wiki
Docker deployment
-
Install Docker: https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe
-
Share the drive containing your GOPATH with docker
-
Pull the target image
docker pull therecipe/qt:windows_64_static
- Deploy your application
qtdeploy -docker build windows_64_static
You should find your deployed application inside the deploy
subfolder.
MSYS2 deployment
-
Install the [MSYS2 version of Qt](/therecipe/qt/wiki/Installation-on-Windows#msys2-version-without-android-support)
-
Export the environment variables
QT_MSYS2_ARCH=amd64
andQT_MSYS2_STATIC=true
-
Deploy your application
qtdeploy build desktop
You should find your deployed application inside the deploy
subfolder.