Last active
May 23, 2024 10:36
-
-
Save jtilly/866ee2cc4baec369150a to your computer and use it in GitHub Desktop.
Install qcachegrind on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
how to launch?
how to launch?
just type qcachegrind
works for Ubuntu 20.04.1 ! Thanks!
Thanks @Fibbles , this saved me.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
edit
/kcachegrind-0.7.4/libcore/costitem.h
. On line 23 add#include <QObject>
--> Works on Ubuntu 19.04 too!