How to show pri attachments in Qt Creator project panel?

I have a .pri file named Deploy.pri in a .pro project file.

Deploy.pri:

 include(part1.pri) include(part2.pri) 

As you can see, it includes two other .pri .

These pri files are displayed on the same level in the Qt Creator project panel:

enter image description here

I want to know if there is a way to show them in nested and hierarchical ways, like a tree?

+7
qt projects-and-solutions qt-creator qmake
source share
1 answer

Insert the modules into the subdirs .

 TEMPLATE = subdirs SUBDIRS += project1 \ project2 

Then enable part1.pri and part2.pri using ../ depending on the depth of your subdirectories such as include(../part1.pri)

0
source share

All Articles