[Qt-interest] qmake doesn't create subfolders (Filter elements) in .vcproj files

Jonathan Wong jhannwong at gmail.com
Sat May 23 07:55:06 CEST 2009


Actually, it does. Why couldn't I find this in the docs?

CONFIG -= flat

Yes, this doesn't allow us to specify exactly which source files goes to which filters. But I
prefer this method (coupled to actual folder structure).

Jonathan Wong wrote:
> Looking at the codes now... I'm thinking of making a new member var for class VCFilter... say:
> 
> QList<VCFilter> SubFilters
> 
> Is this how most people arrange Visual Studio filters? "Headers" -> "Subfolders", and "Sources" ->
> "Subfolders". Or is it "Subfolders" -> "Headers and Sources"?
> 
> If there is no comment on this, I'll go the 1st way. Not sure if the qmake SVN will take my
> updates, but I'll post the patch if anyone is interested.
> 
> 
> Jonathan Wong wrote:
>> A related discussion is here: http://www.qtforum.org/post/95353/qmake-subdirs.html
>>
>> I'm looking at quickly putting together something now, adding to qmake.
>>
>> Wishlists? Tips?
>>
>> Or how should I structure a large project? I use SVN my .pro, not the generated .vcproj files.
>>
> 
> 




More information about the Qt-interest-old mailing list