mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
2.1 KiB
2.1 KiB
Linux
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.
Ubuntu 18.04
most likely works the same for other Debian-like distros
- Install dependencies
sudo apt install qttools5-dev qtmultimedia5-dev libqt5svg5-dev libboost-dev libssl-dev libboost-system-dev libboost-filesystem-dev cmake g++
Through Qt Creator
- Install C++ IDE Qt Creator
sudo apt install qtcreator
- Open
chatterino.pro
with Qt Creator and select build
Manually
- go into project directory
- create build folder
mkdir build && cd build
Using QMake
qmake .. && make
Using CMake
cmake .. && make
Arch Linux
Through AUR
Manually
sudo pacman -S qt5-base qt5-multimedia qt5-svg qt5-tools gst-plugins-ugly gst-plugins-good boost rapidjson pkgconf openssl cmake
- go into project directory
- create build folder
mkdir build && cd build
Using QMake
qmake .. && make
Using CMake
cmake .. && make
Fedora 28 and above
most likely works the same for other Red Hat-like distros. Substitue dnf
with yum
.
sudo dnf install qt5-qtbase-devel qt5-qtmultimedia-devel qt5-qtsvg-devel libsecret-devel openssl-devel boost-devel cmake
- go into project directory
- create build folder
mkdir build && cd build
Using QMake
qmake-qt5 .. && make -j$(nproc)
Using CMake
cmake .. && make -j$(nproc)
Optional dependencies
gstreamer-plugins-good
package is retired in Fedora 31, see: rhbz#1735324
sudo dnf install gstreamer-plugins-good
(optional: for audio output)
NixOS 18.09+
- enter the development environment with all of the dependencies:
nix-shell -p openssl boost qt5.full pkg-config cmake
- go into project directory
- create build folder
mkdir build && cd build
Using QMake
qmake .. && make
Using CMake
cmake .. && make