From e1667adb7c78b010f4af2e1496b87f5e322c0da2 Mon Sep 17 00:00:00 2001 From: Moritz Sternemann Date: Tue, 29 Dec 2015 16:46:40 +0100 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d23727..ab67c67 100644 --- a/README.md +++ b/README.md @@ -5,18 +5,23 @@ You need a bot token to make API calls. Text the [@botfather](https://telegram.m ## Usage Create a lib directory in your project directory and cd into it: + mkdir lib && cd lib Clone the repo to your projects source directory: + git clone https://github.com/iMoritz/QtTelegramBot.git Alternatively you can add QtTelegramBot as a git submodule to always stay up-to-date: + git submodule add https://github.com/iMoritz/QtTelegramBot.git In your project file (*project*.pro) add this include: + include($$PWD/lib/QtTelegramBot/QtTelegramBot.pri) Now you can use the Bot classes using: + #include "qttelegrambot.h" @@ -24,4 +29,4 @@ Everything in *QtTelegramBot* is in the `Telegram` namespace. ## Examples -Examples can be found in the `examples` directory. You can build them in QtCreator or using the command line. \ No newline at end of file +Examples can be found in the `examples` directory. You can build them in QtCreator or using the command line.