From dff2629e812f5fe73fbd20b81b49aef16372894f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82?= Date: Sun, 4 Apr 2021 15:58:18 +0200 Subject: [PATCH] Updated building docs regarding CMake update (#2585) --- BUILDING_ON_LINUX.md | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/BUILDING_ON_LINUX.md b/BUILDING_ON_LINUX.md index 878d15a11..401741a27 100644 --- a/BUILDING_ON_LINUX.md +++ b/BUILDING_ON_LINUX.md @@ -6,8 +6,25 @@ Note on Qt version compatibility: If you are installing Qt from a package manage _most likely works the same for other Debian-like distros_ -1. Install dependencies (and the C++ IDE Qt Creator) `sudo apt install qtcreator qtmultimedia5-dev libqt5svg5-dev libboost-dev libssl-dev libboost-system-dev libboost-filesystem-dev cmake` -1. Open `chatterino.pro` with QT Creator and build +1. 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 + +1. Install C++ IDE Qt Creator `sudo apt install qtcreator` +1. Open `chatterino.pro` with Qt Creator and select build + +### Manually + +1. go into project directory +1. create build folder `mkdir build && cd build` + +#### Using QMake + +1. `qmake .. && make` + +#### Using CMake + +1. `cmake .. && make` ## Arch Linux @@ -17,15 +34,15 @@ _most likely works the same for other Debian-like distros_ ### Manually -1. `sudo pacman -S qt5-base qt5-multimedia qt5-svg gst-plugins-ugly gst-plugins-good boost rapidjson pkgconf openssl cmake` +1. `sudo pacman -S qt5-base qt5-multimedia qt5-svg qt5-tools gst-plugins-ugly gst-plugins-good boost rapidjson pkgconf openssl cmake` 1. go into project directory 1. create build folder `mkdir build && cd build` -### Using QMake +#### Using QMake 1. `qmake .. && make` -### Using CMake +#### Using CMake 1. `cmake .. && make`