C++ QT GUI and Windows library for Telegram bot API
Taken from Vcpkg - Quick Start: Windows.
Prerequisites:
- Windows 7 or newer
- Git
- QT MSVC2019 64bit
First, download and bootstrap vcpkg itself; it can be installed anywhere, but generally we recommend using vcpkg as a submodule for CMake projects, and installing it globally for Visual Studio projects. We recommend somewhere like C:\src\vcpkg
or C:\dev\vcpkg
, since otherwise you may run into path issues for some port build systems.
> git clone https://github.com/microsoft/vcpkg
> .\vcpkg\bootstrap-vcpkg.bat
To install the libraries for Windows x64, run:
> .\vcpkg\vcpkg install tgbot-cpp:x64-windows
To install for Windows x86, run:
> .\vcpkg\vcpkg install tgbot-cpp
Use the example CMakeLists.txt with changes:
- Change
target_link_libraries(../vcpkg/installed/x64-windows/lib/TgBot)
to your vcpkg path.