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]> 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
