Chatterino2 is built in CI on Intel on macOS 13. Local dev machines for testing are available on Apple Silicon on macOS 13.
- Install Xcode and Xcode Command Line Utilities
- Start Xcode, go into Settings -> Locations, and activate your Command Line Tools
- Install Homebrew
We use this for dependency management on macOS - Install all dependencies:
brew install boost openssl@3 rapidjson cmake qt@6
- Open a terminal
- Go to the project directory where you cloned Chatterino2 & its submodules
- Create a build directory and go into it:
mkdir build && cd build
- Run CMake. To enable Lua plugins in your build add
-DCHATTERINO_PLUGINS=ON
to this command.
cmake -DCMAKE_PREFIX_PATH=/opt/homebrew/opt/qt@6 ..
- Build:
make
Your binary can now be found under bin/chatterino.app/Contents/MacOS/chatterino directory
You can achieve similar results by using an IDE like Qt Creator, although this is undocumented but if you know the IDE you should have no problems applying the terminal instructions to your IDE.