KDE 4 Development Setup
Speaker: David Faure
Getting set up for KDE 4 development is a bit tricky, given that new build system tools are being used, compiling "in place" isn't supported anymore... In this presentation you will learn how to set up a proper environment for developing for KDE4 code (libraries or applications), and a number of tip and tricks to be more efficient.
- Setting up the required environment variables (including an automated way of switching environments)
- Choosing install prefixes, making navigation fast.
- Using qt-copy (and how its patch system works)
- Installing dbus, starting the dbus daemon
- Setting up "srcdir != builddir" (out of source builds), including convenient shell aliases for switching between them, and how to use makeobj
- Using kdesvn-build to update and compile the kde modules, including a few useful cmake options.
- And other tricks like grepping without hitting subversion's own copy of the files, or listing/killing the kde4 programs currently running in a kde3 session.
This presentation will become a how-to for developer.kde.org afterwards.
David Faure, French KDE Developer working for Klarälvdalens Datakonsult AB, and sponsored for working on KDE by Trolltech. Maintainer of the file manager / web browser (Konqueror), works on the KDE libraries (component technology, network transparency...) and on KOffice (framework, KWord, OpenDocument support), also doing admin work for KDE. Represents KDE in the OASIS Technical Committee which defines the OpenDocument standard for office suites.
Slides (PDF) (179k)
Slides (ODP) (68k)
Video (Ogg) (215M)