KDevelop

KDevelop is an IDE developed for KDE Platform. It runs natively on many Unix-like systems including MacOS.

/File/en/Notice.png
Note
To avoid performing steps manually, use this automated KDevelop 4 project generator: http://bugs.openttd.org/task/6577

Contents

Importing OpenTTD to KDevelop

To import OpenTTD project into KDevelop follow these steps:

Now you should be able to build the project (Project -> Build all Projects).

Running/debugging

In order to run/debug the project from KDevelop you have to create a "Launch configuration":

Now you should be able to run and debug the project (Run -> Execute launch, Run -> Debug launch).

Useful tips

KDevelop comes with a background parser which gives you a real-time information on the code. It needs some tweaks however:

KDevelop also has an internal VCS GUI tool. If you have imported a Mercurial or Git "working copy" then just open the VCS Changes toolbox.

In the "Find/Replace in Files" dialog it might be necessary to add ",/objs/" to the Exclude pattern. You can also add some file extensions specific to OpenTTD e.g. nut or ini.

See also