Desktop client application for eurobattle.net
Use the official Qt installer to install latest 6.X libraries for MSVC 2022 with OpenSSL and Qt WebEngine.
- zlib
- quazip
- stormlib
- boost
- libtorrent
Build for x64, release and debug modes.
We plan to migrate to cmake+conan to make this step automated.
git clone [email protected]:ladislav-zezula/StormLib.git
cd StormLib
git checkout v9.25
"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvarsall.bat" amd64
cmake -B ./build_dynamic -DBUILD_SHARED_LIBS=ON -DUNICODE=ON
cd build_dynamic
cmake --build . --config Release
We use Windows deployment tool to copy the necessary libraries to debug and release folders.
Visual Studio -> Tools -> Command line -> Developer command prompt
C:/Qt/6.5.3/msvc2019_64/bin/qtenv2.bat
cd C:/path/to/xpam-client/build-xpam-Desktop_Qt_6_5_3_MSVC2019_64bit-Debug/debug
windeployqt --debug xpam.exe
cd C:/path/to/xpam-client/build-xpam-Desktop_Qt_6_5_3_MSVC2019_64bit-Release/release
windeployqt --release xpam.exe
Finally, copy zlib, quazip, stormlib and libtorrent dlls manually.
Additionally, copy qt6core5compat(d).dll, libssl-3-x64.dll, libcrypto-3-x64.dll from Qt installation.
There was an issue with line endings and hash mismatch which is now taken care of with a .gitattributes directive. You can copy and paste the file as is, do not remove the final newline.