<br><br><div><span class="gmail_quote">2007/7/2, depot @ xs4all. nl <<a href="mailto:depot@xs4all.nl">depot@xs4all.nl</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> to prevent problem with multithreading in digiKam, do not use KDE API<br>> directly, but "DWarning()" instaead "kdWarning()"<br>><br>> unforget to put #include"ddebug.h" at top of source to compile fine.
<br><br>Adding DWarning() instead of kdWaring() gave me a make error:<br><br>.libs/digikamsearch.o: In function `kio_digikamsearch::special(QMemArray<char> const&)':<br>digikamsearch.cpp:(.text+0x3da6): undefined reference to `DWarning(int)'
<br>digikamsearch.cpp:(.text+0x3dbe): undefined reference to `Digikam::Ddbgstream::~Ddbgstream()'<br>collect2: ld returned 1 exit status<br>make[3]: *** [kio_digikamsearch.la] Error 1</blockquote><div><br>ah yes, it's in KIOslave. you don't need to use DWarning() at this place. KIOSlave running in a separate process. There is no problem with multithreading.
</div></div><br>Gilles<br>