Note on Qt version compatibility: If you are installing Qt from a package manager, please ensure the version you are installing is at least Qt 5.12 or newer.
Most likely works the same for other Debian-like distros
- Install all of the dependencies using
sudo apt install qttools5-dev qtmultimedia5-dev libqt5svg5-dev libboost-dev libssl-dev libboost-system-dev libboost-filesystem-dev cmake g++
- Install C++ IDE Qt Creator by using
sudo apt install qtcreator
- Open
chatterino.pro
with Qt Creator and select build
- Go into the project directory
- Create a build folder and go into it (
mkdir build && cd build
) - Use one of the options below to compile it
cmake .. && make
qmake .. && make
- Install all of the dependencies using
sudo pacman -S --needed qt5-base qt5-multimedia qt5-svg qt5-tools gst-plugins-ugly gst-plugins-good boost rapidjson pkgconf openssl cmake
- Go into the project directory
- Create a build folder and go into it (
mkdir build && cd build
) - Use one of the options below to compile it
cmake .. && make
qmake .. && make
Most likely works the same for other Red Hat-like distros. Substitute dnf
with yum
.
- Install all of the dependencies using
sudo dnf install qt5-qtbase-devel qt5-qtmultimedia-devel qt5-qtsvg-devel libsecret-devel openssl-devel boost-devel cmake
- Go into the project directory
- Create a build folder and go into it (
mkdir build && cd build
) - Use one of the options below to compile it
cmake .. && make -j$(nproc)
qmake-qt5 .. && make -j$(nproc)
- Enter the development environment with all of the dependencies:
nix-shell -p openssl boost qt5.full pkg-config cmake
- Go into the project directory
- Create a build folder and go into it (
mkdir build && cd build
) - Use one of the options below to compile it
cmake .. && make
qmake .. && make