docs.kde.org
How to Start a New Project — the Application Wizard
Prev
Next

How to Start a New Project — the Application Wizard

This is to show you how easy it is to make KDevelop create a running program for you.

The Application Wizard can quickly create a project for you from a list of predefined project templates. All you have to do is select the type of project you want, how to name it, and where to put it.

Select Project - New Project. The Create New Project Window appears. Let's assume you want to create a normal KDE project. So select the type: C++ - KDE - Simple KDE Application. Enter the name, e.g. helloworld. The default location will be /home/yourhome/helloworld. If you finished the settings in this window, click next. In the next window you can set some options which are preset to useful default values. Click next. Then you are shown the template for .h files, and for .cpp files. Again, you can leave them as default, and click Finish. You will see the message that your program has been created.

To run your program, select Build - Execute Program. You receive a message that automake & friends must be run first. Click OK. Your program is built and executed and a window of your new program pops up, saying "Hello World". You can now edit your program and add some more useful functionality.

Prev
Next
Home


docs.kde.org