Qt Designer and KDevelop-3.0 for beginners

Anne-Marie Mahfouf <annma@kde.org>

German Translation : Andreas Nicolai
Russian Translation : Marina Soboleva
French Translation : Julien Pluton
Italian Translation : Andrea Benazzo
Romanian Translation : Laura Afrasine and Claudiu Costin
Revision 0.4 (2004-06-24)

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

Qt is the toolkit used by the KDE project for developing graphical applications. This paper shows a beginner how to create a simple application using Qt Designer 3.2 (or 3.3) and KDevelop-3.0. This tutorial is based on an application written by Jono Bacon and has been reviewed by Daniel Molkentin (for the KDevelop-2 version) and Thomas Nagy.


Table of Contents

1. Introduction
2. Requirements
How to get Qt Designer
From your distribution
Tarball or anonymous cvs
How to get KDevelop 3
From your distribution
From tarball
cvs HEAD
Lexicon
3. Creating the application
Starting the project
Creating the framework with KDevelop
Using Qt Designer
Designing the program
Adding widgets
Getting spaced out
Signals and slots
Generating the source
Implementing the slot
4. In short
5. Make the translations for a simple kde project
First install a gettext patched for kde
Prepare the translations
Make the translations
Compile and install the translations files
Reference
6. A few general tips
General hints
Your application name
Coding practice
Importing your project in KDE CVS
How do I release my application as a tarball?
Useful links
7. Generating the source (alternate)
Without using the KDevelop subclassing capability
Implementing the slot
8. Credits and License