How to disambiguate subdirs with the same name in the Projects list?

Posted by jlstrecker on Stack Overflow See other posts from Stack Overflow or by jlstrecker
Published on 2012-10-05T15:35:32Z Indexed on 2012/10/05 15:37 UTC
Read the original article Hit count: 163

Filed under:
|

My Qt project has 2 subdirs/subprojects with the same name. Their directories are myproject/node and myproject/compiler/test/node.

The problem (or annoyance) is that, in the Projects list in Qt, both subdirs are listed as "node". So you have to open them up to figure out which is which.

myproject.pro is like this:

TEMPLATE = subdirs
QMAKE_CLEAN = Makefile

SUBDIRS += \
    compiler_test_node \
    node \
        ...

compiler_test_node.subdir = compiler/test/node
node.depends = compiler_vuo_compile
...

Without renaming the myproject/compiler/test/node directory, is there a way to make it show up with a different name in the Projects list?

© Stack Overflow or respective owner

Related posts about qt

Related posts about qmake