简体   繁体   English

如何为Windows 7 x64构建64位Qt 5.3? 使用MinGW-w64和MSVS构建之间有什么区别吗?

[英]How to build 64bit Qt 5.3 for Windows 7 x64? Is there any differences between builds with MinGW-w64 and MSVS?

Maybe this question is very simple and was asked a lot of times, but, despite that I googled a lot, I can't find step-by-step instructions for building Qt. 也许这个问题非常简单并且被问过很多次,但是,尽管我搜索了很多,但我找不到构建Qt的逐步说明。 All of them either for Qt4 or contains some bugs. 所有这些都是Qt4或包含一些错误。 I need 64bit version of Qt for Windows 7. How it can be done? 我需要64位版本的Qt for Windows 7.如何才能完成?

I think that qt docs on building from source and requirements look like step-by-step instruction on how to build Qt5. 我认为从源代码和需求构建的qt 文档看起来像是如何构建Qt5的逐步指导。 If you follow the steps thoroughly, you'll be able to do this. 如果您完全按照步骤操作,您将能够执行此操作。

In particular your issue "Can't find icuin.dll" tells that you didn't install icu . 特别是你的问题“找不到icuin.dll”告诉你没有安装icu You have an option to either install it, or specify option "-no-icu" when running configuration script. 您可以选择安装它,也可以在运行配置脚本时指定选项“-no-icu”。

If you build MSVS version, you should build Qt form MSVS x64 console, that you can find in Start menu->programs->MSVS folder. 如果您构建MSVS版本,则应构建Qt格式的MSVS x64控制台,您可以在“开始”菜单 - >“程序” - >“MSVS”文件夹中找到该控制台。 In this case you will not have to set some environment variables like QMAKESPEC, etc 在这种情况下,您不必设置一些环境变量,如QMAKESPEC等

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM