Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 786 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 786 Bytes

Build

Install Qt

Download from https://download.qt.io/archive/qt/ and install.

Add qmake and mingw toolchain to the environment variable PATH, for example:
C:\Qt\Qt5.14.2\5.14.2\mingw73_64\bin, C:\Qt\Qt5.14.2\Tools\mingw730_64\bin

Install cmake

Download from https://cmake.org/download/ and install.

Add cmake/bin to the environment variable PATH, for example:
C:\Program Files\CMake\bin

Build libhv

git clone https://github.com/ithewei/libhv
cd libhv
cmake . -G "MinGW Makefiles" -DCMAKE_MAKE_PROGRAM=mingw32-make -Bbuild/mingw64
cmake --build build/mingw64

Build examples/qt

cd examples/qt/server
qmake
mingw32-make
windeployqt.exe release
cd examples/qt/client
qmake
mingw32-make
windeployqt.exe release