Hi Alexander!

Thanks for the bug report: I fixed it in master.

The information you provided made it obvious what was happening:-)

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
________________________________
Von: [email protected] 
[[email protected]]" im Auftrag von "ext 
Alexander Rukletsov [[email protected]]
Gesendet: Freitag, 19. August 2011 16:19
Bis: [email protected]
Betreff: Re: [Qt-creator] CMake wizard lacks some of the available toolchains

Hello everyone,

here is some new information about the problem. 64-bit Qt Creator shows all 
available toolchains in CMake wizard. Looks like it is a bug in a 32-bit 
version of Creator (at least on Windows using MSVC compilers). Therefore a bug 
report has been created: 
https://bugreports.qt.nokia.com/browse/QTCREATORBUG-5871.

On 11 August 2011 17:22, Alexander Rukletsov 
<[email protected]<mailto:[email protected]>> wrote:
Hello everyone,

I use Qt Creator with CMake-based projects. Currently I have two environments:
 * WinXP 32-bit / Qt Creator 2.2.1 / Qt Creator master-snapshot + msvc2005-x86 
+ msvc2005-x86_amd64
 * Win7 64-bit / Qt Creator 2.2.1 + msvc2010-x86 + msvc2010-amd_64 + 
msvc2010-x86_amd64 + other msvc cross-compilers.

All available compilers are auto-detected by the Qt Creator and shown in the 
"Tool Chains" list. However, on both environments CMake wizard shows only 
several NMake generators. E.g. on the second environment (Win7) only two 
generators are available: msvc2010-x86 and msvc2010-x86_amd64. But even if the 
second generator is selected, both x86 and amd64 environments (INCLUDE, LIB, 
etc variables) are merged together which makes 64 bit compilation impossible. 
Standalone CMake GUI works well. The question is why CMake wizard makes only 
several tool chains available and how can I use the 64 bit compiler on Win7.

Quick investigation of the sources leads to files 
"src\plugins\cmakeprojectmanager\cmakeopenprojectwizard.cpp", lines 418 - 422 
and "\src\plugins\projectexplorer\toolchainmanager.cpp", lines 218 - 227, 
"\src\plugins\projectexplorer\abi.cpp", lines 405 - 421. This code rejects tool 
chains whose ABI is incompatible to a "default" one. Does anyone know why these 
tool chains are considered incompatible and how to make the things working in a 
right way?

--
Sincerely,
Alexander Rukletsov




--
Sincerely,
Alexander Rukletsov

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

Reply via email to