[Qt-creator] project tree, show subdirectories

Porfirio porfirio.ribeiro at sapo.pt
Sat May 16 21:19:27 CEST 2009


Thats what i am using!
Allot better than my subdirs aproach i used before.

can someone tell-me why all projects have a qconfig sub project?

Em 16-05-2009 0:45, Renaud escreveu:
> I'm using .pri file in each subdirectory instead of .pro.
>
>
> [Your main .pro file]
>
> TEMPLATE = app
>
> include(foo/foo.pri)
>
> DEPENDPATH += foo [not sure, it is necessary]
> INCLUDEPATH += foo [not sure, it is necessary]
>
> SOURCES += main.cpp ...
>
> [...]
>
> [foo.pri]
>
> HEADERS += $$PWD/foo.h
> SOURCES += $$PWD/foo.cpp
>
>
> Subdirectory can contain anything: stand-alone unit or not.
> I guess, you can easily run a script to built .pri file automatically.
>
> Regards
> Renaud
>
>> Hi,
>>
>> I wonder if there is a way to have a view of the project tree, showing
>> subdirectories. In our project, we have many different classes that are
>> each in a different directory. Being able to get those subdirectories to
>> show would be useful to find the file we want to edit.
>>
>> Thanks.
>>
>> Mildred
>>
>>      
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090516/052bb890/attachment.html 


More information about the Qt-creator-old mailing list