2018-06-04 17:48:44 +02:00
# Building on macOS
2018-06-05 10:24:17 +02:00
#### Note - If you want to develop Chatterino 2 you will also need to install Qt Creator
2018-06-04 17:48:44 +02:00
1. Install Xcode and Xcode Command Line Utilites
2. Start Xcode, settings -> Locations, activate your Command Line Tools
3. Install brew https://brew.sh/
4. `brew install boost openssl rapidjson qt`
5. Go into project directory
6. Create build folder `mkdir build && cd build`
7. `qmake .. && make`
2018-05-25 17:08:09 +02:00
If the Project does not build at this point, you might need to add additional Paths/Libs, because brew does not install openssl and boost in the common path. You can get their path using
`brew info openssl`
`brew info boost`
2018-06-13 03:58:52 +02:00
If brew doesn't link openssl properly then you should be able to link it yourself using those two commands:
- `ln -s /usr/local/opt/openssl/lib/* /usr/local/lib`
- `ln -s /usr/local/opt/openssl/include/openssl /usr/local/include/openssl`
2018-05-25 17:08:09 +02:00
The lines which you need to add to your project file should look similar to this
```
INCLUDEPATH += /usr/local/opt/openssl/include
LIBS += -L/usr/local/opt/openssl/lib
```