Current release is 0.5.1. You can download ktutorial-0.5.1.tar.gz from project's file list.

You can also see the release notes, which list the changes from the previous release.

See below for build instructions, in building section.

If you do know what you are doing ;) , you can also checkout KTutorial sources from Git repository. Go on reading to know how to do it.

In order to download the sourcecode from Git, you'll need a Git client. If you just want to browse the repository from your web browser without downloading it, please see the KDE Projects page for KTutorial.

You can check out the sourcecode anonymously in this way:

That command, typed in a terminal, will create a subdirectory named ktutorial in the directory it was executed, and it will download in the ktutorial subdirectory the sourcecode.

Note that the translations are not included when the sources are downloaded from Git (although they are when downloading a release package). To get the translations in this case you must build KDE's l10n module.

In order to build KTutorial, it doesn't matter if you downloaded it from a release or from Git.

You will need CMake, and Qt >= 4.6 and KDE 4 kdelibs development packages installed in your system. It can be built like any other KDE 4 library or application.

Create a build subdirectory in ktutorial directory, and change to it. Now, in a terminal, just run cmake ../ && make and it will configure and build KTutorial in the build directory. Once built, execute make install and you are done (you will likely need to change to root user, as default KDE installation is usually only root writable).

If you want to specify a prefix to install KTutorial to, instead of using KDE default installation directory, call CMake using the parameter -DCMAKE_INSTALL_PREFIX=/installation/prefix. For debugging purposes, use -DCMAKE_BUILD_TYPE=debugfull. If you want to prevent some directory to be built (for example, the one for the test application), use BUILD_ktutorial-test-app=NO. To automatically build the unit tests when the project is built, use -DKDE4_BUILD_TESTS=ON.

If you intend to run the unit tests you may find this little trick valuable: Preventing graphical automated tests from interrupting you.

Last updated: 2012-12-07