Paintop tutorial
Francisco Fernandes
francisco.fernandes.j at gmail.com
Sun Feb 26 21:00:18 UTC 2012
Hello JL!
I had followed the README instructions. I did all over again with the
default
minimal paintop, but it did not work yet. I even put the qDebug message in
the
constructor but it didn't came out at all, so the plugin it's not loading.
My KDE4 build configuration is on my $HOME, more specifically with my
development directory in BASEDIR=~/Projetos/C++/kde4 (so my source
directory is on
~/Projetos/C++/kde4/src , my build is ~/Projetos/C++/kde4/build and my
installation
is in ~/Projetos/C++/kde4/inst ).
This is what i have done to recompile and try to load the minimal paintop:
* removed the modified "minimal" paintop directory and all its contents
from the calligra/krita/plugins/paintops
and removed "add_subdirectory(minimal)" from
calligra/krita/plugins/paintops/CMakeLists.txt
* deleted build/calligra and all its contents
* recreated the calligra/krita/plugins/paintops/minimal/ directory and
copied the contents
of ~/mypaintop/Krita-Minimal-Brush into it
* wrote in the krita/plugins/paintops/CMakeLists.txt the line:
add_subdirectory( minimal)
* recreated the kde4/build/calligra directory and once in it I executed :
$ cmake -DCMAKE_INSTALL_PREFIX=$HOME/Projetos/C++/kde4/inst
$HOME/Projetos/C++/kde4/src/calligra -DCMAKE_BUILD_TYPE=Debug
* did a "ccmake ." and let only the krita line with ON and regenerated the
configuration
(the exit is on http://paste.kde.org/429770/)
* in the minimal_paintop_plugin.cpp i wrote "qDebug() << "Loading the
minimal plugin..." ; " in the
class constructor.
* did a "make" in the kde4/build/calligra
* did a "make install" in the kde4/build/calligra
* did a kbuildsyscoca4 ( the exit is in http://paste.kde.org/429806/ )
* executed krita (the console exit is in http://paste.kde.org/429818/)
I verified the installation and in it had the following files:
*
/home/chicao/Projetos/C++/kde4/inst/lib/kde4/kritaminimalpaintop.so
/home/chicao/Projetos/C++/kde4/inst/share/apps/krita/images/krita-minimal.png
/home/chicao/Projetos/C++/kde4/inst/share/kde4/services/kritaminimalpaintop.desktop
*
Do you have any idea what I'm doing wrong?
--
____________________________________________________________________________
Francisco Fernandes (AKA: Chicao)
..........................................................................................
Blog: http://pedepinico.blogspot.com
Identi.ca: http://identi.ca/chicao
Twitter: http://twitter.com/__chicao
..........................................................................................
"Quem de boa vontade carrega o difícil, também carrega o menos difícil..."
Lao Tsé - Tao Te Ching
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kimageshop/attachments/20120226/848c61fd/attachment.html>
More information about the kimageshop
mailing list