[Qt-creator] project tree, show subdirectories
Porfirio
porfirio.ribeiro at sapo.pt
Fri May 15 16:19:40 CEST 2009
Lets say libA is composed by 100+ files organized in folders
Wont be nice to see things organized...
Em 15-05-2009 14:36, Ernst Huber escreveu:
> Mildred Ki'Lya schrieb:
>
>> 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
>>
>>
>>
> Hi Mildred
>
> You should have a separate .pro file for each subdirectory (assuming
> each of your subdirectories represents a more or less stand-alone unit
> such as a library). Then a main .pro (to be opened in Creator) with the
> "subdirs" template is needed with a list of all the subdirectories.
>
> For example:
>
>
> TEMPLATE = subdirs
>
> SUBDIRS = src/libA \
> src/libB \
> examples/libAdemo \
> examples/libBdemo
>
> Hope it helps.
> Ernst
> _______________________________________________
> 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/20090515/0e098439/attachment.html
More information about the Qt-creator-old
mailing list