The KDevelop C++ KDE scons-based templates
SCons is meant to be KDE4 build system so here is your chance to learn about it! These templates both provide a Scons mini distribution integrated so you don't need anything to run them!
SCons-based KDE KConfig XT application
ScreenshotSCons based (no need for automake), provided within the template. Generates a simple KDE application with one widget, a configuration dialog and a dcop interface. SCons scripts are provided for compiling and installing the application.
First you open the integrated konsole in KDevelop and you type: which scons. If you have nothing, do in your app dir:$ tar xjvf admin/scons-mini.tar.bz2Start here if you have already scons installed globally and carry on if you did the first step:
$ ./scons $ ./scons install (or as root if needed) $ project_nameIn these 3 last commands, the first builds the project, the second installs it and the third runs it.
All the details about SCons are written in the QUICKSTART that is displayed at the opening of the template. The project is the same than the KConfig XT application, which means you have a KMainWindow with menu actions and KConfig XT integrated. The only difference with the automake-based project is that you must run all build commands in the konsole and not via the Build menu in KDevelop.
SCons-based KMDI application
ScreenshotSCons based (no need for automake), provided within the template. Generates a KMDI (Multiple Document Interface) application with tabs, integrated konsole and Tips of the day. Scons scripts are provided for compiling and installing the application.
First you open the integrated konsole in KDevelop and you type: which scons. If you have nothing, do in your app dir:$ tar xjvf admin/scons-mini.tar.bz2Start here if you have already scons installed globally and carry on if you did the first step:
$ ./scons $ ./scons install (or as root if needed) $ project_nameIn these 3 last commands, the first builds the project, the second installs it and the third runs it.
All the details about SCons are written in the QUICKSTART that is displayed at the opening of the template. The project is the same as the KConfig XT application, which means you have a KMainWindow with menu actions and KConfig XT integrated. The only difference with the automake-based project is that you must run all build commands in the konsole and not via the Build menu in KDevelop.
Documentation
SConsSCons homepage: http://www.scons.org/
SCons manpage: http://www.scons.org/doc/HTML/scons-man.html
A nice tutorial: Programming with SCons
Bksys documentation: http://freehackers.org/~tnagy/bksys_manual.html
KMDI
KMDI API reference: http://developer.kde.org/documentation/library/cvs-api/kdelibs-apidocs/kmdi/html/classes.html
A great KMDI tutorial: A KMDI tutorial by Andrea Bergia
Last update: 2006-10-04
[ Edit ]
KDE Women Homepage