<br><br><div class="gmail_quote">On Wed, Apr 2, 2008 at 9:45 AM, Andreas Pakulat <<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 02.04.08 01:30:02, Aleix wrote:<br>
> I've seen that using:<br>
> QFile::exists(file.toLocalFile())<br>
> instead of the<br>
> !entryList("filename.*").isEmpty()<br>
<br>
</div>Did you try what happens if some of the additional Filter options are<br>
given? Like QDir::Files, QDir::NoDotAndDotDot, QDir::Readable,<br>
QDir::CaseSensitive.</blockquote><div><br>I'll try, but I'm not sure if it will make any difference... <br><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
> makes kdebase last 26s instead of 35s which is a very noticeable<br>
> change. But, as you might imagine, it is not correct.<br>
<br>
</div>Huh? How did you get to that conclusion? Thats exactly how cmake works,<br>
if libfoo.so is not existing, then the variable is set to -NOTFOUND.<br>
<br>
Try to execute this CMakeLists.txt (adjust the qt-copy path first) after<br>
removing libQtCore.so from qt-copy:<br>
<br>
,----<br>
| Find_library(FOO_LIB QtCore<br>
|         PATHS /home/andreas/qt-copy/lib<br>
|         NO_DEFAULT_PATH<br>
|         )<br>
|<br>
| message("QTCORE: ${FOO_LIB}")<br>
`----<br>
</blockquote><div><br>I know that when a library is not found that  a -NOTFOUND appears, what I meant is that, as I told to a. neundorf, this code was to fit the libname.so.1 case (the .1 was the cause).<br><br>Aleix<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Andreas<br>
<font color="#888888"><br>
--<br>
There is a fly on your nose.<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</div></div></blockquote></div><br>