浏览代码

Use statically linked Qt5 for Windows MinGW builds. This solves an issue where OpenSSL dlls had to be manually copied into binary dir for VCMI_launcher to be able to download mods.

Joakim Thorén 1 年之前
父节点
当前提交
c8ed138145
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      docs/developers/Building_Windows.md

+ 3 - 1
docs/developers/Building_Windows.md

@@ -114,9 +114,11 @@ Extract `ccache` to a folder of your choosing, add the folder to the `PATH` envi
 ## Compile VCMI with MinGW via MSYS2
 ## Compile VCMI with MinGW via MSYS2
 - Install MSYS2 from https://www.msys2.org/
 - Install MSYS2 from https://www.msys2.org/
 - Start the `MSYS MinGW x64`-shell
 - Start the `MSYS MinGW x64`-shell
-- Install dependencies: `pacman -S mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-SDL2_mixer mingw-w64-x86_64-SDL2_ttf mingw-w64-x86_64-boost mingw-w64-x86_64-gcc mingw-w64-x86_64-ninja mingw-w64-x86_64-qt5-base mingw-w64-x86_64-qt5-tools`
+- Install dependencies: `pacman -S mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-SDL2_mixer mingw-w64-x86_64-SDL2_ttf mingw-w64-x86_64-boost mingw-w64-x86_64-gcc mingw-w64-x86_64-ninja mingw-w64-x86_64-qt5-static`
 - Generate and build solution from VCMI-root dir: `cmake --preset windows-mingw-release && cmake --build --preset windows-mingw-release`
 - Generate and build solution from VCMI-root dir: `cmake --preset windows-mingw-release && cmake --build --preset windows-mingw-release`
 
 
+**NOTE:** This will link Qt5 statically to `VCMI_launcher.exe` and `VCMI_Mapeditor.exe`. See [PR #3421](https://github.com/vcmi/vcmi/pull/3421) for some background.
+
 # Create VCMI installer (This step is not required for just building & development)
 # Create VCMI installer (This step is not required for just building & development)
 
 
 Make sure NSIS is installed to default directory or have registry entry so CMake can find it.
 Make sure NSIS is installed to default directory or have registry entry so CMake can find it.