Chat client for https://twitch.tv
Go to file
zneix e2f59d2e61
Use QApplication::screens().first() instead of deprecated methods
Also follows-up moving away from QDesktop widget from c99f12e8fe
Note: `QScreen::availableGeometry()` doesn't take the parent argument as opposed to `QDesktopWidget::availableGeometry(QWidget &xd)` - no idea if not passing an argument breaks anything, but just for the sake of having Chatterino compile I didn't mind it that much while fixing compilation.

Reference:
- https://doc.qt.io/qt-6/widgets-changes-qt6.html#qdesktopwidget-and-qapplication-desktop
2021-07-31 22:51:34 +02:00
.CI Add Ubuntu packaging script (#2936) 2021-07-17 13:28:45 +02:00
.docker remove check-format dockerfile 2019-11-02 12:13:01 +01:00
.github Add Ubuntu packaging script (#2936) 2021-07-17 13:28:45 +02:00
cmake Add sanitizers for cmake (#2608) 2021-04-10 11:26:20 +00:00
docs Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
lib Merge remote-tracking branch 'origin/master' into zneix/feature/qt6 2021-07-30 20:11:35 +02:00
resources Add ALazyMeme to the contributor list (#3097) 2021-07-31 13:24:56 +00:00
src Use QApplication::screens().first() instead of deprecated methods 2021-07-31 22:51:34 +02:00
tests Fixed comma appended to username completion when not at the beginning of the message (#3060) 2021-07-24 12:01:50 +02:00
tools Updated filelist in chatterino.pro (#2932) 2021-06-28 00:22:34 +02:00
.cirrus.yml use packaged qtkeychain on FreeBSD (#1929) 2020-09-01 21:58:23 +02:00
.gitattributes Add .gitattributes file to normalize line endings 2019-09-08 22:01:12 +02:00
.gitignore Add support for CMake (buildsystem generator) (#2468) 2021-03-28 16:58:51 +02:00
.gitmodules Pin down libcommuni's branch we're using (#3090) 2021-07-30 09:24:27 +00:00
.prettierignore Add lint github action (#2473) 2021-02-21 14:45:42 +01:00
.prettierrc.toml Add lint github action (#2473) 2021-02-21 14:45:42 +01:00
_.travis.yml Removed obsolete macOS builds workaround (#2395) 2021-01-23 15:53:39 +01:00
appveyor.yml Don't automatically build appveyor 2021-01-02 14:33:15 +01:00
BUILDING_ON_FREEBSD.md Fixes some basic grammatical mistakes (#3053) 2021-07-31 13:03:07 +02:00
BUILDING_ON_LINUX.md Fixes some basic grammatical mistakes (#3053) 2021-07-31 13:03:07 +02:00
BUILDING_ON_MAC.md Fixes some basic grammatical mistakes (#3053) 2021-07-31 13:03:07 +02:00
BUILDING_ON_WINDOWS.md Fixes some basic grammatical mistakes (#3053) 2021-07-31 13:03:07 +02:00
CHANGELOG.md Added the ability to add nicknames for users (#2981) 2021-07-31 16:15:43 +02:00
chatterino.pro Added the ability to add nicknames for users (#2981) 2021-07-31 16:15:43 +02:00
CMakeLists.txt First changes to build systems 2021-07-30 17:08:31 +02:00
conanfile.txt ⬆️ Updated conan dependencies (#3048) 2021-07-25 11:50:31 +00:00
CONTRIBUTING.md Fixes some basic grammatical mistakes (#3053) 2021-07-31 13:03:07 +02:00
Jenkinsfile run distclean before making 2018-08-11 14:16:59 +02:00
LICENSE Add LICENSE file (#130) 2017-10-13 21:57:43 +02:00
README.md Add flatpak version badge (#2782) 2021-05-14 09:59:47 +00:00

alt text Chatterino 2 GitHub Actions Build (Windows, Ubuntu, MacOS) Cirrus CI Build (FreeBSD only) Chocolatey Package Flatpak Package

Chatterino 2 is a chat client for Twitch.tv. The Chatterino 2 wiki can be found here. Contribution guidelines can be found here.

Download

Current releases are available at https://chatterino.com. Windows users can also install Chatterino from Chocolatey.

Nightly build

You can download the latest Chatterino 2 build over here

You might also need to install the VC++ 2017 Redistributable from Microsoft if you do not have it installed already.
If you still receive an error about MSVCR120.dll missing, then you should install the VC++ 2013 Restributable.

Building

To get source code with required submodules run:

git clone --recurse-submodules https://github.com/Chatterino/chatterino2.git

or

git clone https://github.com/Chatterino/chatterino2.git
cd chatterino2
git submodule update --init --recursive

Building on Windows

Building on Linux

Building on Mac

Building on FreeBSD

Code style

The code is formatted using clang format in Qt Creator. .clang-format contains the style file for clang format.

Get it automated with QT Creator + Beautifier + Clang Format

  1. Download LLVM: https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/LLVM-11.0.0-win64.exe
  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.

Doxygen

Doxygen is used to generate project information daily and is available here.