Fixed some language ✨stuff✨. Added alternative to httpbin. Updated expected space requirement on Windows. Removed unused VS component on Windows. Moved Qt Creator formatting to Windows docs. Updated nativs link to Qt 6. Added missing language to code blocks. Removed # Description from PR template and added instructions to fix a GitHub issue. Co-authored-by: Wissididom <30803034+Wissididom@users.noreply.github.com> Co-authored-by: pajlada <rasmus.karlsson+github@pajlada.com>
1.6 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.
Install dependencies
Ubuntu 20.04
Most likely works the same for other Debian-like distros.
Install all the dependencies using sudo apt install qttools5-dev qt5-image-formats-plugins libqt5svg5-dev libboost-dev libssl-dev libboost-system-dev libboost-filesystem-dev cmake g++ libsecret-1-dev
Arch Linux
Install all the dependencies using sudo pacman -S --needed qt5-base qt5-imageformats qt5-svg qt5-tools boost rapidjson pkgconf openssl cmake
Alternatively you can use the chatterino2-git package to build and install Chatterino for you.
Fedora 28 and above
Most likely works the same for other Red Hat-like distros. Substitute dnf
with yum
.
Install all the dependencies using sudo dnf install qt5-qtbase-devel qt5-qtimageformats qt5-qtsvg-devel qt5-linguist libsecret-devel openssl-devel boost-devel cmake
NixOS 18.09+
Enter the development environment with all the dependencies: nix-shell -p openssl boost qt5.full pkg-config cmake
Compile
Through Qt Creator
- Install C++ IDE Qt Creator by using
sudo apt install qtcreator
- Open
CMakeLists.txt
with Qt Creator and select build
Manually
- In the project directory, create a build directory and enter it
mkdir build cd build
- Generate build files
cmake ..
- Build the project
make