[Qt-creator] project tree, show subdirectories
Renaud
renaud.guezennec at gmail.com
Sat May 16 01:45:31 CEST 2009
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090515/61f860b7/attachment.html
More information about the Qt-creator-old
mailing list