On 01.04.2011 00:07, ext Matt Thompson wrote:
>> Tobias,
>> That was it.  I hadn't noticed the new setting before.
Good:-)
>> Now I have a
>> couple of observations.
>> 1) I have a session with about 20 projects loaded.  It would be very
>> helpful if there was a way to set the tool chain for all of the
>> projects at once rather than having to set them individually.
It should select the same defaults that were used previously for qmake 
based projects.

Generic Makefile based projects are not really covered well. I'll check 
whether I can update the code to select a reasonable toolchain (MinGW on 
windows or GCC everywhere else), if one is auto detected. That is pretty 
much what we had assumed before. Would that help?
>> 2) It also seems like for our gmake projects the tool chain selection
>> doesn't really have any effect on which compiler or flags are used to
>> compile a project.  Is there something we can do differently in our
>> make files to listen to this setting?
The tool chain selection does not really effect the build settings yet, 
that is true. I'll improve this post-2.2 for the qmake projects (and 
maybe CMAke ones, too).

For generic projetcs there is too little known to really make the tool 
chain data available to the build system. We could maybe set CC or CXX 
environment variables and hope for the best... which will probably 
confuse some projects and get ignored by others. Or maybe we should just 
not expose the data at all.
>> Thanks for pointing me in the right direction!
You are welcome!

Best Regards,
Tobias

-- 
Tobias Hunger
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to