Paintop tutorial

JL VT pentalis at gmail.com
Mon Feb 27 02:10:49 UTC 2012


On Sun, Feb 26, 2012 at 6:00 PM, Francisco Fernandes
<francisco.fernandes.j at gmail.com> wrote:
> 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?


I will try to repeat every step one by one to find out what went
wrong. I'll let you know what I find out.


More information about the kimageshop mailing list