From 5938e00508c7e6013ed59a9e05651cde4d553ed5 Mon Sep 17 00:00:00 2001 From: LosFarmosCTL <80157503+LosFarmosCTL@users.noreply.github.com> Date: Sun, 26 Dec 2021 14:22:11 +0100 Subject: [PATCH] Update macOS build instructions (Qt Creator, Qt version, ccache) (#3408) * update build instructions * add link to ccache --- BUILDING_ON_MAC.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/BUILDING_ON_MAC.md b/BUILDING_ON_MAC.md index 5d4182187..76b453951 100644 --- a/BUILDING_ON_MAC.md +++ b/BUILDING_ON_MAC.md @@ -1,6 +1,6 @@ # Building on macOS -#### Note - If you want to develop Chatterino 2 you will also need to install Qt Creator (make sure to install **Qt 5.12 or newer**) +#### Note - If you want to develop Chatterino 2 you might also want to install Qt Creator (make sure to install **Qt 5.12 or newer**), it is not required though and any C++ IDE (might require additional setup for cmake to find Qt libraries) or a normal text editor + running qmake/cmake from terminal should work as well #### Note - Chatterino 2 is only tested on macOS 10.14 and above - anything below that is considered unsupported. It may or may not work on earlier versions @@ -8,11 +8,12 @@ 2. Start Xcode, go into Settings -> Locations, and activate your Command Line Tools 3. Install brew https://brew.sh/ 4. Install the dependencies using `brew install boost openssl rapidjson` -5. Install Qt using `brew install qt` +5. Install Qt5 using `brew install qt@5` 6. Step 5 should output some directions to add Qt to your path, you will need to do this for qmake -7. Go into the project directory -8. Create a build folder and go into it (`mkdir build && cd build`) -9. Compile using `qmake .. && make` +7. (_OPTIONAL_) Install [ccache](https://ccache.dev) (used to speed up compilation by using cached results from previous builds) using `brew install ccache` +8. Go into the project directory +9. Create a build folder and go into it (`mkdir build && cd build`) +10. Compile using `qmake .. && make` _If you want to use cmake instead of qmake, just replace the above qmake command with cmake_