Skip to main content
kdevelop-logo.png
Setting Up An Application With KDevelop - Linux


Introduction

This set of instructions will walk you through setting up a KDevelop C++ project from scratch.

When you have finished this tutorial you will be able to compile a working Ogre Application and you will be ready to start the Basic Tutorials.

Prerequisites

Make sure that you've created a CMake project as outlined in Building Your Projects With CMake

Creating an Ogre project in KDevelop

Choose Project - Open/Import Project from the menu.

Select Directory/Project File

KDevelop_cmake_1

Project Information

KDevelop_cmake_2

Build Directory

KDevelop_cmake_3

Build and Install

From within KDevelop you can now build and build install, using the project build menu:
KDevelop_cmake_4

Launch Configuration

Choose Run - Configure Launches from the menu.
Click the plus to add a launch configuration to the project:
KDevelop_cmake_5

Success

Run/Debug your project:
KDevelop_cmake_6

Conclusion

KDevelop is a full featured developing environment with excellent support for CMake based projects.
It only touches the source directory very briefly: one KDevelop project file and a .kdev4 directory.
You can live with that.