Technical stuff

Requirements are like water. They're easier to build on when they're frozen.

How to install kcachegrind / qcachegrind on Mac OSX

30 March 2012 by Georgiana

Installing kcachegrind via macports takes a long time because it has to build KDE, as well.

An alternative faster way is described below.

  • download Qt binary and install it
  • download and install graphviz; I used brew install graphviz
  • fix default graphviz location by symlinking to a place where cachegrind will find it sudo ln -s /usr/local/bin/dot /usr/bin/dot
  • qmake -spec 'macx-g++'; make
  • copy generated qcachegrind.app to your Applications folder
  • enjoy!

1 comment | Categories: Computer setup | Tags: , , , ,

One Comment

  1. Worked like a charm, thanks! I thought I was going to have to compile KDE.