Skip to content

Build Instructions for macOS

Matthias Niess edited this page Apr 2, 2020 · 21 revisions

Notice: Be aware that there is no official support for macOS. You can still try to build Zeal manually, but that is not guaranteed to work.

Please avoid reporting issues you encounter on macOS, unless they are also reproducible on Linux or Windows.

Compiling dependencies

  1. Install Xcode from the AppStore. If you installed the Xcode command line tools earlier (e.g. by installing Homebrew), run this:
    sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
  2. Install Homebrew to install/compile the dependencies and Zeal itself.
  3. Install/Compile Qt dependencies
    brew tap markwu/personal
    brew install qt
    brew install qt5-webkit

Compiling qt5-webkit will take a while.

Compiling Zeal

Compile the latest development version of Zeal:

brew install --HEAD zeal

Installing Zeal

Zeal is now available to be run. If you want you can move it to your Applications folder (not necessary if you run it through Spotlight or Alfred):

cp -Rp /usr/local/Cellar/zeal/*/Zeal.app ~/Applications/

Thanks go out to markwu for providing the Homebrew formula to build Zeal and qt5-webkit. For detailed (and ongoing) discussion on building Zeal on macOS, see this issue.