Skip to content

Instantly share code, notes, and snippets.

@robdvr
Last active June 1, 2020 16:52
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robdvr/271e34785c8a43b1e093d2ee8e612aee to your computer and use it in GitHub Desktop.
Save robdvr/271e34785c8a43b1e093d2ee8e612aee to your computer and use it in GitHub Desktop.
How to install QT4, Poppler, and Cairo on MacOS Sierra 10.12
  1. Remove qt4,5 poppler, cairo
brew uninstall cairo
brew poppler
brew qt
brew qt5
  1. Install qt4 on Sierra & link qt (this will take about 20 mins)
brew install cartr/qt4/qt
brew linkapps qt
  1. Download an older poppler

https://gist.github.com/robdvr/d5f3c636972337948cbfecdfeddcde92

  1. Update your formula
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/poppler.rb
  1. Install Poppler
brew install cairo poppler --with-qt4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment