Next Previous Table of Contentsv1.2
This is a tutorial that teaches how to develop a simple KDE application step by step, with explanations on every line of code and giving always more importance to clean code than to build a real application.
The main requisite to read this tutorial is to have a bit of experience with C++ programming (this is not a C++ tutorial !), no Qt nor KDE previous knowledge is needed . Anyway I recommend to read also the Qt tutorial which is quite useful to start on this passionate world.
You'll need KDE 2.x or KDE 3.x . If you haven't installed it yet, read this page for information on how to install the KDE 3.0 (recommended) or this one for information on how to install the latest stable version . You can also install KDE from sources by following this link. Be warned that the CVS snapshot versions are not suitable for daily uses and should only be installed by developers who want to be sure that their applications will run on the future desktop technology. This link explains how to install KDE 2 and KDE 3 in the same computer without any conflict.
If you prefer to download the complete tutorial with the makefiles, documentation, configure script and sources ready to compile, you can do so from this page. Please note that you cannot just copy the source code from these pages in a cpp file and run the compiler on it, you also need some Makefiles which you can find in the above page.
Having said this, I will mention that in only 4 steps we will build a web browser and that the sixth example is a bookmark application that communicates with the web browser to store the bookmark links. But let's not anticipate things, and let's start by the beginning ...
|p1 : A simple Qt "Hello World" application|
|p2 : A simple KDE "Hello World" application|
|p3 : We add our first menu|
|p4 : A web browser|
|p5 : Open the communications Uhura !|
|p6 : A bookmark book|
|p7 : Back and forth|
|p8 : A smart bookmark|
|p9 : Using the XMLGUI framework|
Next Previous Table of Contents