mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
917 B
917 B
Building on macOS
Note - If you want to develop Chatterino 2 you will also need to install Qt Creator
- Install Xcode and Xcode Command Line Utilites
- Start Xcode, settings -> Locations, activate your Command Line Tools
- Install brew https://brew.sh/
brew install boost openssl rapidjson qt
- Go into project directory
- Create build folder
mkdir build && cd build
qmake .. && make
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
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
INCLUDEPATH += "/usr/local/Cellar/boost/1.67.0_1/include"
LIBS += -L"/usr/local/Cellar/boost/1.67.0_1/lib"