![](/img/trans.png)
[英]Qt5Quickd.lib(Qt5Quickd.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'
[英]Qt5Cored.lib(Qt5Cored.dll) : module machine type 'x64' conflicts with target machine type 'X86'
我在詹金斯都做。 我正在使用CMake通过Makefile Generator:Visual Studio 12配置项目。此后,我有了解决方案文件- * .sln。 我的下一步是使用MSBuild构建项目。 我使用命令行参数-/ p运行它:“ VisualStudioVersion = 12.0”。 处理此步骤时,我收到消息:
> Qt5Cored.lib(Qt5Cored.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
我尝试使用Makefile Generator:Visual Studio 12 Win64,出现了更多的故障。 在我还尝试使用参数/p:"Platform=x64"
运行MSBuild之后/p:"Platform=x64"
但失败了- "Debug|x64"
无效。
我有适用于x64平台的Qt,我的机器也适用于x64。 我在CMAKE_PREFIX_PATH
也有通往Qt的正确路径。 我真的不知道该怎么办:C
我解决了我的问题:我为x86安装了Qt,它可以工作:))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.