Installing Qcachegrind

Xdebug and Php Profiling

Segment 3.

Installing Qcachegrind 

Install QT 

Install Qt opensource for mac (browser for release at http://download.qt-project.org/official_releases/qt/4.8/4.8.5/)
 
Add the following lines to .bash_profile
export QTDIR=$HOME/Qt/5.4/clang_64
export PATH=$QTDIR/bin:$PATH
 

 Install Qcachegrind

If you do not have Brew packet manager installed install it, it’s the easiest way to install Qcachegrind. http://brew.sh/
 
 brew install qcachegrind
brew install graphviz
sudo ln -s /usr/local/bin/dot /usr/bin/dot

brew linkapps 

Usage

Generic instructions and examples on how to use Qcachegrind can be found here.

Some Source info gathered from:  https://josephscott.org/archives/2013/07/qcachegrind-kcachegrind-on-mac-os-x/

jim has written 83 articles

One thought on “Installing Qcachegrind

  1. I've been trying to install Qcachegrind/Kcachegrind for a few days on El Capitan. When I tried to install graphviz, I got the warning: "graphviz-2.38.0 already installed, it's just not linked", and then when I tried the sudo command above, I get the error: "ln: /usr/bin/dot: Operation not permitted". Any suggestions?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>