Skip to content

Instantly share code, notes, and snippets.

@jtilly
Last active May 23, 2024 10:36
Show Gist options
  • Save jtilly/866ee2cc4baec369150a to your computer and use it in GitHub Desktop.
Save jtilly/866ee2cc4baec369150a to your computer and use it in GitHub Desktop.
Install qcachegrind on Ubuntu
#!/bin/bash
sudo apt-get install qt5-default
wget http://kcachegrind.sourceforge.net/kcachegrind-0.7.4.tar.gz
tar xvf kcachegrind-0.7.4.tar.gz
cd kcachegrind-0.7.4
qmake && make
sudo install -m 755 qcachegrind/qcachegrind /usr/local/bin
sudo install -m 644 qcachegrind/qcachegrind.desktop \
/usr/local/share/applications/
sudo install -m 644 kcachegrind/hi32-app-kcachegrind.png \
/usr/local/share/icons/hicolor/32x32/apps/kcachegrind.png
sudo install -m 644 kcachegrind/hi48-app-kcachegrind.png \
/usr/local/share/icons/hicolor/48x48/apps/kcachegrind.png
@aicentral
Copy link

how to launch?

just type qcachegrind

@kaidiwang
Copy link

works for Ubuntu 20.04.1 ! Thanks!

@arduinocc04
Copy link

Thanks @jtilly @Fibbles !

@aviv-vladimirsedlar
Copy link

Thanks @Fibbles , this saved me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment