How to install kcachegrind / qcachegrind on Mac OSX
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.appto your Applications folder