简体   繁体   English

在什么情况下为Qt MinGW或MSVC选择什么编译器?

[英]What compiler to choose for Qt MinGW or MSVC in what case?

I am starting with QT , using windows 64 bits I have MinGW already installed and I don't have VS . 我开始使用QT ,使用Windows 64位我已安装MinGW而且我没有VS

  • What version of QT should I pick ( MSVS or MinGW ) and for what purpose? 我应该选择什么版本的QTMSVSMinGW )以及用于什么目的? Is there some cases where I must choose one over the another? 在某些情况下,我必须选择一个而不是另一个吗?

  • I saw that the only Qt version for MinGW is 32 bits, however MinGW supports 64 bits too, why? 我看到MinGW唯一的Qt版本是32位,但MinGW支持64位,为什么?

  • Let say I want to develop a windows app and an android app, should I have to install both Qt's versions MSVC2015 and Qt for android ? 假设我想开发一个Windows应用程序和一个Android应用程序,我应该为Android安装Qt的版本MSVC2015Qt吗?

  • You'd better install both of them. 你最好安装它们。 MinGW version for development and MSVC version for release. 用于开发的MinGW版本和用于发布的MSVC版本。
  • Because guys from Digia, who build Qt releases, desided that there's no need in x64 MinGW release. 因为构建Qt版本的Digia的人决定在x64 MinGW版本中没有必要。 But you may get the sources and build it yourself. 但是你可以获得资源并自己构建它。
  • Yes, you need both. 是的,你需要两者。

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

相关问题 我应该在Qt创建者中使用MinGW而不是微软编译器进行编译 - What should I change in Qt creator to compile using MinGW rather than microsoft compiler MSVC:什么编译器开关会影响结构的大小? - MSVC: what compiler switches affect the size of structs? MSVC 编译器中的 /Fx 选项是什么意思? - What is the meaning of the /Fx option in MSVC compiler? Winpcap 程序在 Qt 中使用 MinGW 而不是使用 MSVC 2015 运行 - Winpcap program runs with MinGW but not with MSVC 2015 in Qt 在MinGW编译器中,-mwindows命令是什么,它有什么作用? - In the MinGW compiler, what is the -mwindows command, and what does it do? 在Qt MinGW编译器中处理__event - Handling __event in Qt MinGW compiler 如何在Qt创建器中更改/配置所需的编译器?即在MSVC / Mingw或g ++ / clang ++之间切换 - How to change/configure desired compiler in Qt creator? i.e. switch between MSVC/Mingw or g++/clang++ MSVC ++ 2008 Express Editon编译器的功能和功能 - What MSVC++ 2008 Express Editon compiler does and doesn't 什么是 -D 编译器标志 C++(clang、GNU、MSVC) - What is the -D compiler flag C++ (clang, GNU, MSVC) 我应该按什么顺序从 MSVC 编译器读取构建错误? - In what order should I read build errors from MSVC compiler?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM