Friday 29 February 2008

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

3 comments:

  1. [...] ставлю KDE for Windows, по причине того, что нашел рецептик, в  котором написано как запустить КСаcheGrind на [...]

    ReplyDelete
  2. Вообще-то, многое из того, что Вы пишете не совсем так… Ну да ладно :)

    ReplyDelete
  3. Following Bernard's port, note that the release 4.1.0 of KDE appears to be unavailable on several mirrors (only some of the 4.3 branch are).

    You may need to select "winkde.org" as a mirror.

    ReplyDelete