GitHub - hv-projects/QtDemo: libhv gui demo using Qt (original) (raw)

libhv gui demo using Qt.

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 QtDemo

git clone https://github.com/hv-projects/QtDemo cd QtDemo

cd server
qmake
mingw32-make
windeployqt.exe release

cd client qmake mingw32-make windeployqt.exe release

Release

see release

Run

QtDemo.png