Remove official support for QMake (#3839)
* delet chatterino.pro * Update documentation * Update Github Actions config * Update Cirrus CI config * Attempt to fix Cirrus CI * Add changelog entry * Delete tools/update_filelist.py It was a QMake-only script? Maybe will need revert + change to CMake or something? * fix? * Fuck this linter * Attempt to clean up build.yml a little * Add cmaake to install list, remove step for qmake PATH * Change list entries to always use 1. Sneaky unrelated change * These are no longer tests! * FUCK YOU PRETTIER * Make BUILDING_ON_LINUX.md simpler * Get rid of Jenkins * Get rid of travis * Remove dupes * Remove appveyor * Remove qmake from conanfile * Try removing explicit qmake path * Nothing uses the qt style plugins installer anymore * Update manual linux building instructions * Update freebsd compilation instructions with a copy paste from the linux instructions * Remove unused docker files * Remove linux breakpad build script as it's unused * Update changelog entry phrasing * Lint build markdown files * Change top changelog entry to not be confused as a link * Skip QtCreator conan setup if conan is disabled This reduces the amount of warnings & errors Windows users get with QtCreator * lint building on linux file Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
+29
-60
@@ -2,80 +2,49 @@
|
||||
|
||||
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 20.04
|
||||
## Install dependencies
|
||||
|
||||
### Ubuntu 20.04
|
||||
|
||||
_Most likely works the same for other Debian-like distros_
|
||||
|
||||
1. 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 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++`
|
||||
|
||||
### Compiling through Qt Creator
|
||||
### Arch Linux
|
||||
|
||||
1. Install C++ IDE Qt Creator by using `sudo apt install qtcreator`
|
||||
1. Open `chatterino.pro` with Qt Creator and select build
|
||||
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`
|
||||
|
||||
### Manually
|
||||
Alternatively you can use the [chatterino2-git](https://aur.archlinux.org/packages/chatterino2-git/) package to build and install Chatterino for you.
|
||||
|
||||
1. Go into the project directory
|
||||
1. Create a build folder and go into it (`mkdir build && cd build`)
|
||||
1. Use one of the options below to compile it
|
||||
|
||||
### Using CMake
|
||||
|
||||
`cmake .. && make`
|
||||
|
||||
### Using QMake
|
||||
|
||||
`qmake .. && make`
|
||||
|
||||
## Arch Linux
|
||||
|
||||
### Through AUR
|
||||
|
||||
- [chatterino2-git](https://aur.archlinux.org/packages/chatterino2-git/)
|
||||
|
||||
### Manually
|
||||
|
||||
1. 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`
|
||||
1. Go into the project directory
|
||||
1. Create a build folder and go into it (`mkdir build && cd build`)
|
||||
1. Use one of the options below to compile it
|
||||
|
||||
### Using CMake
|
||||
|
||||
`cmake .. && make`
|
||||
|
||||
### Using QMake
|
||||
|
||||
`qmake .. && make`
|
||||
|
||||
## Fedora 28 and above
|
||||
### Fedora 28 and above
|
||||
|
||||
_Most likely works the same for other Red Hat-like distros. Substitute `dnf` with `yum`._
|
||||
|
||||
1. Install all of the dependencies using `sudo dnf install qt5-qtbase-devel qt5-qtmultimedia-devel qt5-qtsvg-devel qt5-linguist libsecret-devel openssl-devel boost-devel cmake`
|
||||
1. Go into the project directory
|
||||
1. Create a build folder and go into it (`mkdir build && cd build`)
|
||||
1. Use one of the options below to compile it
|
||||
Install all of the dependencies using `sudo dnf install qt5-qtbase-devel qt5-qtmultimedia-devel qt5-qtsvg-devel qt5-linguist libsecret-devel openssl-devel boost-devel cmake`
|
||||
|
||||
### Using CMake
|
||||
### NixOS 18.09+
|
||||
|
||||
`cmake .. && make -j$(nproc)`
|
||||
Enter the development environment with all of the dependencies: `nix-shell -p openssl boost qt5.full pkg-config cmake`
|
||||
|
||||
### Using QMake
|
||||
## Compile
|
||||
|
||||
`qmake-qt5 .. && make -j$(nproc)`
|
||||
### Through Qt Creator
|
||||
|
||||
## NixOS 18.09+
|
||||
1. Install C++ IDE Qt Creator by using `sudo apt install qtcreator`
|
||||
1. Open `CMakeLists.txt` with Qt Creator and select build
|
||||
|
||||
1. Enter the development environment with all of the dependencies: `nix-shell -p openssl boost qt5.full pkg-config cmake`
|
||||
1. Go into the project directory
|
||||
1. Create a build folder and go into it (`mkdir build && cd build`)
|
||||
1. Use one of the options below to compile it
|
||||
## Manually
|
||||
|
||||
### Using CMake
|
||||
|
||||
`cmake .. && make`
|
||||
|
||||
### Using QMake
|
||||
|
||||
`qmake .. && make`
|
||||
1. In the project directory, create a build directory and enter it
|
||||
```sh
|
||||
mkdir build
|
||||
cd build
|
||||
```
|
||||
1. Generate build files
|
||||
```sh
|
||||
cmake ..
|
||||
```
|
||||
1. Build the project
|
||||
```sh
|
||||
make
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user