简体   繁体   English

在Windows 7上安装Qt 5.5

[英]Installing Qt 5.5 on Windows 7

I would like to install latest version of Qt (5.5) on Windows 7 for C/C++ application development, and have a few questions: 我想在Windows 7上为C / C ++应用程序开发安装最新版本的Qt(5.5),并且有几个问题:

  1. Can I use Microsoft "Visual Studio Community" edition (2015) as the compiler? 我可以使用Microsoft“ Visual Studio社区”版本(2015)作为编译器吗?
  2. I assume I need to install Visual studio first and then Qt? 我假设我需要先安装Visual Studio,然后再安装Qt?
  3. I am going to install Qt from here , after downloading and installation do I need to build Qt? 我要从这里安装Qt,下载并安装后需要构建Qt吗? Or it is ready to go? 还是准备好了?

Is there a tutorial that explains all the required steps in details. 是否有教程详细解释了所有必需的步骤。 I have done Google search and found bits and pieces here and there not not a good complete step-by-step reference. 我已经完成了Google搜索,并在这里找到了点点滴滴,但没有一个很好的完整的分步指南。 Thanks for the help. 谢谢您的帮助。

You need the compiler, which is integrated in visual studio. 您需要在Visual Studio中集成的编译器。 I don't think you can get the newer ones without Visual Studio (From official sources). 我认为如果没有Visual Studio,您将无法获得更新的版本(来自官方资源)。 However, you can use Qt on windows without msvc. 但是,您可以在没有msvc的Windows上使用Qt。 You can build with the minGw compiler - but I personally like msvc more. 您可以使用minGw编译器进行构建-但我个人更喜欢msvc。

Regarding VS2015: It won't work without extra configuration. 关于VS2015:如果没有额外的配置,它将无法正常工作。 Qt 5.5 supports msvc2013 only (the next release, 5.6, will support the msvc2015 compiler). Qt 5.5仅支持msvc2013(下一版本5.6将支持msvc2015编译器)。 But Visual Studio 2013 will work. 但是Visual Studio 2013可以工作。 The order of installation doesn't matter. 安装顺序无关紧要。

After you installed Qt, all you need to do is launch Qt-Creator and start coding ;) If you wan't to use Visual Studio instead, there is a Plugin on the bottom of the download page ("Other downloads"). 安装Qt之后,您所需要做的就是启动Qt-Creator并开始编码;)如果您不想使用Visual Studio,则下载页面的底部有一个插件(“其他下载”)。 Visual Studio 2015 isn't supported here too, but 2013 is. 这里也不支持Visual Studio 2015,但支持2013。

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

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