• Skip to content
  • Skip to link menu
KDE Women Homepage
  • KDE Women Homepage / Tutorials / KDevelop templates / SCons templates
 
 

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

Screenshot

SCons 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.bz2
Start 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_name
In 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

Screenshot

SCons 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.bz2
Start 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_name
In 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

SCons
SCons 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 ]

Inform

Skip menu "Inform"
  • Home
  • KDE Home
  • Tutorials
    • KDevelop3 & Designer3
    • KDE3.5 from svn + KDE3.x
    • KDevelop templates
      • KDE General templates
      • Other KDE templates
      • SCons templates
      • Qt templates
    • A KDE4 template
  • Tips List
  • Events
  • Projects
  • Links

Communicate

Skip menu "Communicate"
  • Contact
  • About Us
  • Interviews

Global navigation links

  • KDE Home
  • KDE Accessibility Home
  • Description of Access Keys
  • Back to content
  • Back to menu

Search:


Maintained by women.kde.org Webmaster
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal