PDA

View Full Version : QtCreator's project view - unnecessary clutter with subprojects and .pri files



ComServant
3rd March 2014, 18:23
I have a project with subprojects (and some sub-sub-projects).
10096

The projects share a single BuildInfo.pri file (for setting up compiler options), as well as a LibraryLinkers.pri and a DebugFixer.pri
They are included like this:

#Common.pro
include(../BuildInfo.pri)
include(../LibraryLinkers.pri)

This means, in each of the subproject hierarchies the same project is displayed:
10097

It'd be nice if it only got displayed once... But I realize that's a long-shot.

I'd be quite happy if folders with only a single .pri on them just displayed the .pri instead of displaying the folder.
10098

I wouldn't mind at all if the above screenshot displayed:

... v [Common]
... ... Common.pro
... ... BuildInfo.pri
... ... DebugFixer.pri
... ... LibraryLinkers.pri
... ... > [Headers]
... ... > [Sources]

I could check the "Simplify Tree" option, but that takes the source and header files out of all their sub-directories and intermingles them.

Is there something else I could do to make it display simpler? Friendly help is appreciated!

Note: I am currently using QtCreator 2.6.2 based on Qt 5.0.1 released January 30th, 2013.
I know there are more recent versions of QtCreator and the Qt API, and I tend to update when it is convenient for my project rather than every time a new version is released, so maybe the later versions display better.

...so, uh, do the later versions improve this any? Screenshots plz? =)