On 11 Sep 2011, at 22:00, ext Richard Heck wrote:

> On 09/11/2011 01:45 PM, Andre Poenitz wrote:
>> On Sun, Sep 11, 2011 at 09:28:51AM -0400, Richard Heck wrote:
>>> Using QtCreator 2.2.1 under Fedora 14, I am now seeing (which I did not
>>> before) all the generated *.o files among the project-wide search
>>> results. Is there a way to filter these out?
>> They should not be in there to start with.
>> 
>>> The same goes for the file tree shown in the project view.
>> I am afraid some more information on the build system you are
>> using is needed (even if I might have a suspicion...).
>> 
>> Also, some way to reproduce it would be nice.
>> 
> As you suspect, this is with LyX, and I'm using the autotools chain, not
> the cmake one, though there is of course the possibility of using cmake,
> so I don't know what qt-creator is reading.
> 
> I just deleted the various files qt-creator puts into the main directory
> and re-created the project from scratch, using the "Other Project >
> Import Existing Project" route, and all the *.o files etc are still
> showing up. I see that they are all listed in the *.files file. This was
> in a "dirty" tree, i.e., one in which I'd already compiled stuff. So I
> did make clean in the tree and again re-created the project. Then things
> were fine. They remained fine when I re-opened. So it looks as if the
> *.o files and the like are being added on the initial scan, if the tree
> happens to contain them. Is that expected?

I suppose so.
In any case Qt Creator 2.3 provides a useful wizard page where you actually 
define the file patterns that should be excluded, and lets you optionally 
deselect files from the directory tree that you don't want to include.

Br, Eike
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to