Re: [Kcachegrind-callgrind] Kcachegrind 0.4.6 : configure: error QT (>= QT3, 0) headers and librari
Status: Beta
Brought to you by:
weidendo
From: Josef W. <Jos...@gm...> - 2011-04-28 16:00:14
|
On Thursday 28 April 2011, Frank Chang wrote: > > Good morning, We are running Centos-Linux 5.5 x86+32. I just downloaded kachegrind 0.4.6. When I configure it, it complains about QT: configure: error QT (>= QT3,0) headers and libraries not found. > I downloaded QT SDK for Open source Development on Linux/X11 32-bit in my home directory /home/frankc. > When I configure kcachegrind again, it complains about QT: configure: error QT (>= QT3,0) headers and libraries not found even though I downloaded the QT SDK in /home/frankc. > Is there any other location I should be installing QT in (maybe as root) so that the kachegrind configure can find the QT header and libraries? Thank you. > The code from kcachegrind.sf.net is quite old, and uses Qt 3.x. However, the current Qt version is 4.x (newest one is Qt 4.7, included in the Qt SDK, as far as I know). You can not compile that source with Qt4. For recent KCachegrind sources compiling with Qt4 (and KDE4), check out the KDE source package of Centos. There should be one called kdesdk or similar, providing the kcachegrind binary. Alternatively, get the sources of a recent version of the KDE package "kdesdk", go into the kcachegrind/ subdirectory, run "cmake; make" which should build the kcachegrind binary. Best, Josef |