Andi,<br><br>in your plugin dialog, please add an Help button like this :<br><br><a href="http://lxr.kde.org/source/extragear/graphics/kipi-plugins/sendimages/sendimagesdialog.cpp#113">http://lxr.kde.org/source/extragear/graphics/kipi-plugins/sendimages/sendimagesdialog.cpp#113</a><br>
<br>... to add about data section and connect it to the button<br><br><a href="http://lxr.kde.org/source/extragear/graphics/kipi-plugins/sendimages/sendimagesdialog.cpp#162">http://lxr.kde.org/source/extragear/graphics/kipi-plugins/sendimages/sendimagesdialog.cpp#162</a><br>
<br>... to open KDE helper with a future plugin handbook (must be written later). use handbook file name with the same name that your plugin.<br><br><a href="http://lxr.kde.org/source/extragear/graphics/kipi-plugins/sendimages/sendimagesdialog.cpp#158">http://lxr.kde.org/source/extragear/graphics/kipi-plugins/sendimages/sendimagesdialog.cpp#158</a><br>
<br>... and don&#39;t forget to delete about data to prevent memory leak<br><br>Gilles<br><br><div class="gmail_quote">2008/11/4 Gilles Caulier <span dir="ltr">&lt;<a href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">Gilles Caulier</b> <span dir="ltr">&lt;<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>&gt;</span><br>
Date: 2008/11/4<br>Subject: Re: Including blob lib into kipi-plugin<br>To: Andi Clemens &lt;<a href="mailto:andi.clemens@gmx.net" target="_blank">andi.clemens@gmx.net</a>&gt;<br><br><br>Andi,<br><br>Your plugin compile fine now. i have tested with a serie of images and it&#39;s work perfectly...<br>

<br>There is a screenshot available here :<br><br><a href="http://www.flickr.com/photos/digikam/3001770179/sizes/o/" target="_blank">http://www.flickr.com/photos/digikam/3001770179/sizes/o/</a><br>
<br>I recommend you to post a new blog entry in <a href="http://digikam.org" target="_blank">digikam.org</a> to announce availability of your tool and to have feedback from users. You can use this embeded link to flickr with your post :<br>


<br>&lt;a href=&quot;<a href="http://www.flickr.com/photos/digikam/3001770179/" target="_blank">http://www.flickr.com/photos/digikam/3001770179/</a>&quot; title=&quot;new batch red eyes removal tool by cauliergilles, on Flickr&quot;&gt;&lt;img src=&quot;<a href="http://farm4.static.flickr.com/3192/3001770179_9af82b2497.jpg" target="_blank">http://farm4.static.flickr.com/3192/3001770179_9af82b2497.jpg</a>&quot; width=&quot;500&quot; height=&quot;377&quot; alt=&quot;new batch red eyes removal tool&quot; /&gt;&lt;/a&gt;<div>

<div></div><div><br>
<br>Gilles<br><br><br><div class="gmail_quote">2008/11/4 Andi Clemens <span dir="ltr">&lt;<a href="mailto:andi.clemens@gmx.net" target="_blank">andi.clemens@gmx.net</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<br>
Hi Gilles,<br>
<br>
I&#39;m still not that familiar with C++ and its libs, in Python it would be easy<br>
to include new libs into a program: just copy them into the folder and that&#39;s<br>
it.<br>
But I guess this is not how it works in C++ / CMake.<br>
I created a folder libs/blob inside the plugin and copied all *.h and *.cpp<br>
files into it.<br>
Now I need to create a CMakeLists.txt that defines this folder as a library,<br>
right?<br>
Do you think I can just copy the sqlite3 files as an example or will this not<br>
work since sqlite3 is already compiled?<br>
Do I have to actually compile the blob lib and only use the header files and<br>
the libblob.a file in there?<br>
Dies this mean it will not work on windows? To make it work there I think I<br>
need to have the blob*.cpp files in there, too?<br>
<br>
You see CMake and C++ in general still is a big confusion for me sometimes,<br>
like the &#39;delete&#39; statement crashing my application etc... :-)<br>
But I will learn...!<br>
<br>
Andi<br>
<br>
On Tuesday 04 November 2008 10:58:43 Gilles Caulier wrote:<br>
&gt; blob cv lib is very small. A possible way is to include code in your plugin<br>
&gt; as well...<br>
&gt;<br>
&gt; Gilles<br>
&gt;<br>
&gt; 2008/11/4 Andi Clemens &lt;<a href="mailto:andi.clemens@gmx.net" target="_blank">andi.clemens@gmx.net</a>&gt;<br>
&gt;<br>
&gt; &gt; There is another needed lib for openCV that I manually copied into my<br>
&gt; &gt; openCV<br>
&gt; &gt; system folder: OpenCV Blob Detection library<br>
&gt; &gt; (<a href="http://opencvlibrary.sourceforge.net/cvBlobsLib" target="_blank">http://opencvlibrary.sourceforge.net/cvBlobsLib</a>).<br>
&gt; &gt;<br>
&gt; &gt; I don&#39;t know if distributions prepare packages for it, Archlinux does not<br>
&gt; &gt; s far as I know.<br>
&gt; &gt;<br>
&gt; &gt; This is a problem, how to solve this?<br>
&gt; &gt;<br>
&gt; &gt; Andi<br>
&gt; &gt;<br>
&gt; &gt; On Tuesday 04 November 2008 09:40:09 Gilles Caulier wrote:<br>
&gt; &gt; &gt; SVN commit 879865 by cgilles:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; update<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &nbsp;M &nbsp;+4 -1 &nbsp; &nbsp; &nbsp;README<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --- trunk/extragear/graphics/kipi-plugins/README #879864:879865<br>
&gt; &gt; &gt; @@ -32,8 +32,9 @@<br>
&gt; &gt; &gt; &nbsp;RawConverter &nbsp; &nbsp; &nbsp; : A tool to convert Raw Image to JPEG/PNG/TIFF.<br>
&gt; &gt; &gt; &nbsp;DngConverter &nbsp; &nbsp; &nbsp; : A tool to convert Raw Image to Digital NeGative<br>
&gt; &gt;<br>
&gt; &gt; (DNG<br>
&gt; &gt;<br>
&gt; &gt; &gt; -<br>
&gt; &gt; &gt; <a href="http://en.wikipedia.org/wiki/Digital_Negative_%28file_format%29" target="_blank">http://en.wikipedia.org/wiki/Digital_Negative_(file_format)</a>&lt;<a href="http://en.w" target="_blank">http://en.w</a><br>



&gt; &gt; &gt;<a href="http://ikipedia.org/wiki/Digital_Negative_%28file_format%29" target="_blank">ikipedia.org/wiki/Digital_Negative_%28file_format%29</a>&gt;).<br>
&gt; &gt;<br>
&gt; &gt; WallPaper<br>
&gt; &gt;<br>
&gt; &gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;: A tool to set image to KDE Desktop.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; +RemoveRedEyes &nbsp; &nbsp; &nbsp;: A tool to remove red eyes on image automatically.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; -Plugins not yet ported to Qt4/KDE4:<br>
&gt; &gt; &gt; +Plugins not yet ported to Qt4/KDE4 (or under progress):<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &nbsp;IpodExport &nbsp; &nbsp; &nbsp; &nbsp; : A tool to export pictures to an Ipod device.<br>
&gt; &gt; &gt; &nbsp;MpegEncoder &nbsp; &nbsp; &nbsp; &nbsp;: A tool to create an MPEG slideshow with a set of<br>
&gt; &gt; &gt; images. @@ -63,6 +64,7 @@<br>
&gt; &gt; &gt; &nbsp;libexpat &nbsp; &nbsp; &nbsp; &nbsp;&gt;= 2.0.1<br>
&gt; &gt; &gt; <a href="http://expat.sourceforge.net" target="_blank">http://expat.sourceforge.net</a> libqtopengl &nbsp; &nbsp; &gt;= 4.3.x<br>
&gt; &gt; &gt; &nbsp;<a href="http://www.trolltech.com" target="_blank">http://www.trolltech.com</a> Mesa3D &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt;= 7.0.4<br>
&gt; &gt; &gt; <a href="http://mesa3d.sourceforge.net" target="_blank">http://mesa3d.sourceforge.net</a> +libopencv &nbsp; &nbsp; &nbsp; &gt;= 1.0<br>
&gt; &gt; &gt; &nbsp; &nbsp;<a href="http://opencv.willowgarage.com" target="_blank">http://opencv.willowgarage.com</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &nbsp;Plugin Specific Dependencies (for compiling and for running) :<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; @@ -73,6 +75,7 @@<br>
&gt; &gt; &gt; &nbsp;htmlexport &nbsp; &nbsp; &nbsp; &nbsp; : libxslt and libxml2<br>
&gt; &gt; &gt; &nbsp;jpeglossless &nbsp; &nbsp; &nbsp; : imagemagick (runtime dependency)<br>
&gt; &gt; &gt; &nbsp;wallpaper &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: kdebase (runtime dependency)<br>
&gt; &gt; &gt; +RemoveRedEyes &nbsp; &nbsp; &nbsp;: libopencv.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &nbsp;-- CONTACT<br>
&gt; &gt; &gt; ------------------------------------------------------------<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Kde-imaging mailing list<br>
&gt; &gt; <a href="mailto:Kde-imaging@kde.org" target="_blank">Kde-imaging@kde.org</a><br>
&gt; &gt; <a href="https://mail.kde.org/mailman/listinfo/kde-imaging" target="_blank">https://mail.kde.org/mailman/listinfo/kde-imaging</a><br>
<br>
</blockquote></div><br>
</div></div></div><br>
</div></div></blockquote></div><br>