[Qt-creator] Project hierarchy

Jakob Lettenbichler jakob.lettenbichler at artech.at
Tue Feb 11 10:08:24 CET 2020


If you use qmake projects, then I'd recommend to group your classes into pri files and include them in your pro file -> in the project tree then all files added to one pri file a clustered together.
In our project that looks like this (see image attached).

Hope that helps,


-----Original Message-----
From: Qt-creator <qt-creator-bounces at qt-project.org> On Behalf Of Filippo Cucchetto
Sent: Montag, 10. Februar 2020 21:50
To: Jason H <jhihn at gmx.com>
Cc: qt-creator <qt-creator at qt-project.org>
Subject: Re: [Qt-creator] Project hierarchy

Not an answer but i simply use CTRL+K and input a prefix of the filename. I rarely use the file browser at all

Il giorno lun 10 feb 2020 alle ore 18:57 Jason H <jhihn at gmx.com> ha scritto:
> I'm wondering if it is possible to change the grouping the in the project explorer. My project has added many files and scrolling between Headers and Sources is getting tiresome.
> There is filesystem view, but I thought it would be cool to have a 
> view that has lines which group common parts of a filename followed by the extension: filename: [.h] [.cpp] The class view isn't good either because it takes you to a declaration. How can I jump to an implementation without having to go through the .h file?
> The class view could also offer direct jumping to the the declaration or the implementation.
> Just some thoughts...
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator

Filippo Cucchetto
Qt-creator mailing list
Qt-creator at qt-project.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: groupInPriFiles.png
Type: image/png
Size: 54749 bytes
Desc: groupInPriFiles.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20200211/82f693ed/attachment-0001.png>

More information about the Qt-creator mailing list