Krita/Developing plugins: Difference between revisions

From KDE Community Wiki
(Created page with '= 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 vari...')
 
(Replaced content with "Content removed because of obsolescence")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
= For Krita 1.6 =
Content removed because of obsolescence
== 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 ==
* [http://www.koffice.org/krita/Developing%20Krita%20Plugins.html "Developing Krita Plugins" ]
* [http://www.kdedevelopers.org/node/2594 How to write a Krita 'Paint Operation': Introduction]

Latest revision as of 10:35, 18 December 2017

Content removed because of obsolescence