layout: default
---
-## Homebrew
+## Homebrew (recommended)
If you use a mac with Homebrew, there already is a formula to install
dspdfviewer
{% highlight bash %}
brew install dspdfviewer --HEAD
{% endhighlight %}
+
+## Manually (advanced users)
+
+If you want to compile from source, please read the
+[generic install instructions](/installation/) about
+the available cmake-time switches.
+
+If you installed Qt5 via Homebrew, you will have
+to pass its installation prefix to `cmake`:
+
+```bash
+cmake /path/to/source -DSomeOption=ON -DCMAKE_PREFIX_PATH=$(brew --prefix qt5)
+```