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

Stephen Kelly steveire at gmail.com
Wed Apr 10 11:54:08 EDT 2013


Stephen Kelly wrote:

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

Hmm, doesn't quite do it, and I'm not sure why:

(at the very bottom)
http://testresults.qt-project.org/ci/QtBase_stable_Integration/build_00894/win64-msvc2012_developer-build_qtnamespace_Windows_8/log.txt.gz

Any ideas?

Thanks,

Steve.





More information about the cmake-developers mailing list