Re: [Kcachegrind-callgrind] Building kcachegrind 0.7.0 on RHEL 6
Status: Beta
Brought to you by:
weidendo
From: Josef W. <Jos...@gm...> - 2011-09-05 10:03:38
|
Hi Ladar, thanks for the instructions. I do not install qcachegrind on purpose when compiling with CMake, as I do not see the point to have both kcachegrind and qcachegrind installed. Anyway, the instructions are helpful for people. Cheers, Josef On Friday 02 September 2011, Ladar Levison wrote: > *You might want to update the readme/website. Using CMake the commands are:* > > cmake -D QT_MOC_EXECUTABLE:FILEPATH=/usr/lib64/qt4/bin/moc -D > QT_UIC_EXECUTABLE:FILEPATH=/usr/lib64/qt4/bin/uic . > make > sudo make install > 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 > > > > > *And if someone wants to build via Qmake:* > > sed -i -e "s/new_moc.commands = moc/new_moc.commands = > \/usr\/lib64\/qt4\/bin\/moc/g/" qcachegrind/qcachegrind.pro > > /usr/lib64/qt4/bin/qmake -spec linux-g++ > make > sudo install -m 755 qcachegrind /usr/local/bin > sudo install -m 644 qcachegrind.desktop /usr/local/share/applications/ > sudo install -m 644 hi32-app-kcachegrind.png > /usr/local/share/icons/hicolor/32x32/apps/kcachegrind.png > sudo install -m 644 hi48-app-kcachegrind.png > /usr/local/share/icons/hicolor/48x48/apps/kcachegrind.png > > |