Andy: At the moment the "simplified view" is misnamed, and it fails to display directory hierarchies. If it *did* display directory hierarchies, would that give you what you are after?
Jonathan On Wed, Sep 28, 2011 at 10:59 PM, <[email protected]> wrote: > https://bugreports.qt.nokia.com/browse/QTCREATORBUG-404 > > The only options that you have at the moment is to either show the full > tree (projects, subproject hierarchy, categories), or the "simplified view" > by choosing "Simplify Tree" from the filter option in the tool bar at the > top of the project tree pane (toplevel project, leaf subprojects, no > categories). > > Br, > -- > Eike Ziller > Principal Software Engineer > > Nokia, Qt Development Frameworks > > Nokia gate5 GmbH > Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany > Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B > Umsatzsteueridentifikationsnummer: DE 812 845 193 > Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori > > ________________________________________ > From: > [email protected][qt-creator-bounces+eike.ziller= > [email protected]] on behalf of ext andy fillebrown [ > [email protected]] > Sent: Wednesday, September 28, 2011 23:43 > To: [email protected] > Subject: [Qt-creator] Directories in Project Explorer > > Howdy, > > I don't like the separation of headers and sources into separate tree > item parents in the Project Explorer view, so I've been adding them > into the OTHER_FILES variable using the following qmake lines at the > end of my top level project file ... > > > FILETYPES = \ > pluginspec.in \ > pri \ > pro \ > > VARIABLES = \ > FORMS \ > HEADERS \ > OTHER_FILES \ > RESOURCES \ > SOURCES \ > > defineTest(addSubdirs) { > for(subdir, $$1) { > for(filetype, FILETYPES) { > OTHER_FILES += $$subdir/*.$$filetype > for(variable, VARIABLES) { > values = $$fromfile($${subdir}/$$basename(subdir).pro, > $$variable) > for(value, values) { > OTHER_FILES += $$subdir/$$value > } > } > } > subdirs = $$fromfile($${subdir}/$$basename(subdir).pro, SUBDIRS) > fullsubdirs = > for(subsubdir, subdirs) { > fullsubdirs *= $$subdir/$$subsubdir > } > addSubdirs(fullsubdirs) > } > } > > addSubdirs(SUBDIRS) > > > > Unfortunately, this doesn't work as of QtCreator 2.3.1/Qt 4.7.4. It's > probably due to a change in qmake, so I won't pursue it on this list, > but I'm curious about whether people prefer the separation of headers > and sources into separate tree-item parents, or if (like me) having > the headers/source pair under the same tree-item parent is more > desirable. > > Cheers, > ~ andy.f > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-creator > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-creator > >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
