How to install kcachegrind / qcachegrind on Mac OSX
by GeorgianaInstalling 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 - enjoy!