[Qt-creator] Qt Creator not able to add file to the correct sub-project if two sub-projects of the same name exist

Nico Kruber kruber at zib.de
Mon Jul 20 10:21:27 CEST 2009


With the following project layout, I cannot add a header/source file (or class 
with those files) to the sub2 by right-clicking on project sub2 using the "add 
new" wizard. If I select Project "sub2.pro" in the last page of the wizard, 
the file gets added to the test2/sub2 directory but is put into the 
test2/common project...

qtcreator-test/                           
qtcreator-test/test2                      
qtcreator-test/test2/common
qtcreator-test/test2/common/common.pro
qtcreator-test/test2/test2.pro
qtcreator-test/test2/sub2
qtcreator-test/test2/sub2/sub2.pro
qtcreator-test/test1
qtcreator-test/test1/common
qtcreator-test/test1/common/common.pro
qtcreator-test/test1/test1.pro
qtcreator-test/test1/sub1
qtcreator-test/test1/sub1/sub1.pro
qtcreator-test/test.pro

(those files are also available in the archive attached to this email)

Furthermore, using File -> New only the projects "sub1.pro", "sub2.pro" and 
"common.pro" are available; with the latter apparently adding files to the 
test1/common sub-project
-> I suggest to add paths to this list of sub-projects in order to make the 
two common-projects distinct, although this might lead to a quite long 
dropdown box...
maybe there's another way


Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qtcreator-test.tar.bz2
Type: application/x-bzip-compressed-tar
Size: 532 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090720/61984903/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090720/61984903/attachment-0001.bin 


More information about the Qt-creator-old mailing list