2017-09-28 22:24:14 +02:00
![alt text ](https://fourtf.com/img/chatterino-icon-64.png )
Chatterino 2
============
2017-01-22 22:59:21 +01:00
2019-08-21 22:12:55 +02:00
Chatterino 2 is the second installment of the Twitch chat client series "Chatterino".
2017-02-06 14:47:47 +01:00
2019-08-21 22:12:55 +02:00
## Download
Current releases are available at [https://chatterino.com ](https://chatterino.com ).
## Nightly build
2019-05-26 17:48:14 +02:00
You can download the latest Chatterino 2 build over [here ](https://github.com/Chatterino/chatterino2/releases/tag/nightly-build )
2018-06-22 13:18:12 +02:00
2018-09-27 11:00:28 +02:00
You might also need to install the [VC++ 2017 Redistributable ](https://aka.ms/vs/15/release/vc_redist.x64.exe ) from Microsoft if you do not have it installed already.
2018-10-17 15:11:24 +02:00
If you still receive an error about `MSVCR120.dll missing` , then you should install the [VC++ 2013 Restributable](https://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe
2018-09-27 11:00:28 +02:00
).
2018-06-22 13:18:12 +02:00
2017-09-28 22:24:14 +02:00
## Building
2018-10-14 00:54:58 +02:00
To get source code with required submodules run:
```
2019-07-28 13:30:17 +02:00
git clone --recurse-submodules https://github.com/Chatterino/chatterino2.git
2018-10-14 00:54:58 +02:00
```
or
```
2019-07-28 13:30:17 +02:00
git clone https://github.com/Chatterino/chatterino2.git
2019-07-26 10:40:09 +02:00
cd chatterino2
2018-10-14 00:54:58 +02:00
git submodule update --init --recursive
```
2017-06-06 11:25:16 +02:00
2018-05-25 17:19:02 +02:00
[Building on Windows ](../master/BUILDING_ON_WINDOWS.md )
[Building on Linux ](../master/BUILDING_ON_LINUX.md )
[Building on Mac ](../master/BUILDING_ON_MAC.md )
2017-09-28 22:24:14 +02:00
2018-05-25 17:08:09 +02:00
## Code style
2019-10-31 21:57:59 +01:00
The code is formatted using clang format in Qt Creator. [.clang-format ](src/.clang-format ) contains the style file for clang format.
2018-05-14 13:04:15 +02:00
2018-05-25 17:19:02 +02:00
### Get it automated with QT Creator + Beautifier + Clang Format
2020-01-12 18:38:55 +01:00
1. Download LLVM: http://releases.llvm.org/9.0.0/LLVM-9.0.0-win64.exe
2018-05-25 17:19:02 +02:00
2. During the installation, make sure to add it to your path
3. In QT Creator, select `Help` > `About Plugins` > `C++` > `Beautifier` to enable the plugin
4. Restart QT Creator
5. Select `Tools` > `Options` > `Beautifier`
6. Under `General` select `Tool: ClangFormat` and enable `Automatic Formatting on File Save`
7. Under `Clang Format` select `Use predefined style: File` and `Fallback style: None`
Qt creator should now format the documents when saving it.
2019-05-18 21:33:16 +02:00
2019-10-03 22:20:55 +02:00
## Doxygen
Doxygen is used to generate project information daily and is available [here ](https://doxygen.chatterino.com ).