[cmake-developers] Qt builds: module machine type 'x64' conflicts with target machine type 'X86'

Stephen Kelly steveire at gmail.com
Wed Apr 10 09:14:23 EDT 2013


clinton at elemtech.com wrote:

> It appears it needs more logic to handle the CMAKE_GENERATOR variable.
> If a visual studio generator is going to be used, then it'll probably need
> logic to determine which version of visual studio it is to choose the
> correct visual studio generator (because of project file format changes). 
> For example, the correct generator could be any of "Visual Studio 10"
> "Visual Studio 10 Win64" "Visual Studio 11" etc...
> http://www.cmake.org/cmake/help/v2.8.10/cmake.html#section_Generators
> 
> If NMake Makefiles are still used to build Qt with MSVC, then perhaps you
> can simply set the generator to "NMake Makefiles".


I've written this patch:

 https://codereview.qt-project.org/#change,53410

which I think will solve the problem.

Thanks,

Steve.





More information about the cmake-developers mailing list