Getting KCacheGrind for xDebug on Windows with KDE

As I am playing around with xDebug, I need a profile file GUI. I tried WinCacheGrind, but as it is two years out of date, I wished to try KCacheGrind as well.

So, how do you install a Linux KDE application on windowsXP?

As it turns out, quite easily.

Here’s how…

1. download the installer to C:\KDE4 from here:
http://download.cegit.de/kde-windows/installer/

2. Run the installer
2.1 Choose you packages, I choose all of them.
(NOTE: KCacheGrind needs Kdesdk package)

3. Add “C:\KDE4\lib” to the %PATH%
3.1. Start > Control Panel > System > Advanced > Environment Variables, Select PATH, click [edit]..

4. Create env variable KDEDIRS with value “C:\KDE4″
4.1 Start > Control Panel > System > Advanced > Environment Variables, click [New]

5. Do this… at a command prompt
(temporarily needed, check KDE link below to verify)
cd C:\KDE4
C:\KDE4> bin\update-mime-database C:\KDE4\share\mime
C:\KDE4> bin\kbuildsycoca4 –noincremental

THAT’S IT…. ALL DONE. How quick was that…

6. Testing…
run c:\KDE4\bin\assistant.exe to test a QT program.

Now run KCACHEGRIND..
run c:\KDE4\bin\kcachegrind.exe

These instruction are a summary of the KDE on Windows project

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Reddit
  • Slashdot
  • StumbleUpon

Leave a Reply

Byting the hand that feeds you…