Updated building docs regarding CMake update (#2585)

This commit is contained in:
Paweł 2021-04-04 15:58:18 +02:00 committed by GitHub
parent 2db7a30ae5
commit dff2629e81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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_ _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. Install dependencies `sudo apt install qttools5-dev qtmultimedia5-dev libqt5svg5-dev libboost-dev libssl-dev libboost-system-dev libboost-filesystem-dev cmake g++`
1. Open `chatterino.pro` with QT Creator and build
### 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 ## Arch Linux
@ -17,15 +34,15 @@ _most likely works the same for other Debian-like distros_
### Manually ### 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. go into project directory
1. create build folder `mkdir build && cd build` 1. create build folder `mkdir build && cd build`
### Using QMake #### Using QMake
1. `qmake .. && make` 1. `qmake .. && make`
### Using CMake #### Using CMake
1. `cmake .. && make` 1. `cmake .. && make`