Krita/Developing plugins

Jump to: navigation, search

For Krita 1.6

krita-plugins

krita-plugins is the name of a repository on the KDE subversion server with a basic development environment and with the source code of various plugins aimed at developing plugins for Krita but outside the official development tree.

The following instruction will set it up:

mkdir krita-plugins
cd krita-plugins
svn co svn://anonsvn.kde.org/home/kde/trunk/playground/graphics/krita-plugins src
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ../src
make
sudo make install

In your shell configuration (ie .bashrc or .zshrc) you need to add the following line:

export KDEDIRS=$KDEDIRS:/usr/local

You might want to add a file called for instance kdedirs.sh in ~/.kde/env with the same line if you like to launch krita from the kmenu and have your plugins available.

After the creation of a new plugin you might need to call the following command to recreate the database of plugins:

kbuildsycoca

You are now ready for creating a new plugin !

Documentation


This page was last modified on 7 July 2010, at 18:39. This page has been accessed 1,443 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal