visual-studio 哪个更好?Qt Creator 或 Visual Studio IDE
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2881199/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Which is better? Qt Creator or Visual Studio IDE
提问by liaK
I am currently using Qt Creator 1.3 for my Qt applications. I know it uses jomfor makestep which is better when we have multi core processors. But besides that what are all the advantages of using both the IDEs? Dis advantages as well? I am using CL compiler though for compiling my applications. Is there any other specific advantages and disadvantages of these IDEs?
我目前在我的 Qt 应用程序中使用 Qt Creator 1.3。我知道它使用jom进行make步骤,这在我们拥有多核处理器时会更好。但除此之外,使用这两个 IDE 的所有优势是什么?也有优势?我正在使用 CL 编译器来编译我的应用程序。这些 IDE 是否还有其他特定的优点和缺点?
采纳答案by fmuecke
I am using QtCreator for development of my Qt applications because I it better fits the Qt classes as such. However I use Visual Studio for Debugging those projects.
我使用 QtCreator 来开发我的 Qt 应用程序,因为它更适合 Qt 类。但是我使用 Visual Studio 来调试这些项目。
Qt-Creator:
Qt 创造者:
- better Qt object support (help, navigation, etc.)
- better GUI editor
- some nice features like mouse navigation
- really fast IDE
- poor debugging (at least I don't know how to efficiently use it here) compared to VS
- 更好的 Qt 对象支持(帮助、导航等)
- 更好的 GUI 编辑器
- 一些不错的功能,如鼠标导航
- 非常快的IDE
- 与 VS 相比,调试不佳(至少我不知道如何在这里有效地使用它)
Visual Studio (+Visual Assist):
Visual Studio(+Visual Assist):
- great debugger
- Visual Assist
- easier project file configuration and customization (qmake is way too limited in some areas)
- Visual Studio is my choice for C++ development (I'm used to it)
- Qt integration is not that good (IMHO)
- 伟大的调试器
- 视觉辅助
- 更容易的项目文件配置和定制(qmake 在某些方面太有限了)
- Visual Studio是我C++开发的选择(习惯了)
- Qt 集成不是那么好(恕我直言)
回答by Idan K
If you're only working on Windows I'd say it boils down to preference. Otherwise, the clear advantage Qt Creator has over VS is that it's cross platform and moving platforms while keeping your IDE is a clean winner.
如果你只在 Windows 上工作,我会说它归结为偏好。否则,Qt Creator 相对于 VS 的明显优势在于它是跨平台和移动平台,同时让您的 IDE 成为绝对的赢家。
If you only work on Windows and have experience working with VS, then you might be more comfortable using something you already know.
如果您只在 Windows 上工作并且有使用 VS 的经验,那么使用您已经知道的东西可能会更舒服。
Obviously Qt Creator is a lot more Qt-oriented. Every common operation while developing with Qt is bound to be easier in Qt Creator since it's primary goal was to be a tool for developing Qt applications.
显然,Qt Creator 更加面向 Qt。使用 Qt 进行开发时的每个常见操作在 Qt Creator 中肯定会更容易,因为它的主要目标是成为开发 Qt 应用程序的工具。
Even debugging, which puts VS on top of others, is becoming argumentative when comparing it to Qt Creator, since recently almost every Qt class has a customized debugging representation (read more here).
即使是将 VS 置于其他之上的调试,在与 Qt Creator 进行比较时也变得有争议,因为最近几乎每个 Qt 类都有一个自定义的调试表示(在这里阅读更多)。
回答by stijn
this is quite an open question, but here's my point of view: with VS you get a true Integrated Development Environment which for me means:
这是一个相当悬而未决的问题,但这是我的观点:使用 VS,您将获得一个真正的集成开发环境,这对我来说意味着:
- support a whole lot of languages
- is 'all-in'one', no need switching between programs
- great editor
- very great debugger
- very customizable and extendable, good macro capabilities, good integration with other products, rather mature in comparision with Qt Creator
- 支持多种语言
- 是“一体机”,无需在程序之间切换
- 伟大的编辑
- 非常棒的调试器
- 非常可定制和可扩展,良好的宏功能,与其他产品的良好集成,与Qt Creator相比相当成熟
The only reason I use Qt creator is becasue of the Gui designer actually, pretty much all other tasks can be done by VS. That doesn't necessarily mean one is better than the other though, I'd just say one is better at performing certan tasks than the other. Use the right tool for each job.
我使用 Qt creator 的唯一原因实际上是因为 Gui 设计器,几乎所有其他任务都可以由 VS 完成。但这并不一定意味着一个比另一个更好,我只是说一个比另一个更擅长执行某些任务。为每项工作使用正确的工具。
回答by stijn
It's a choice based on needs and preferation
这是基于需求和偏好的选择
It comes down to:
归结为:
What do you want to develop?
What do you need for that development? (Heavy development or simple projects?)
Do you need certain libraries? Or a certain debugger?- What is your preferation of tools by hand? Do you need git support? Is cvs also good enough?
- Do you like the look of the IDE? Because a beautiful IDE usually motivates you while ugly ones distroy this motivation.
你想发展什么?
你需要什么来发展?(繁重的开发或简单的项目?)
您需要某些库吗?或者某个调试器?- 您对手工工具的偏好是什么?你需要 git 支持吗?cvs也够好吗?
- 你喜欢 IDE 的外观吗?因为漂亮的 IDE 通常会激励你,而丑陋的 IDE 会破坏这种动机。
With this said: go get yourself an IDE or start making one yourself that fits all your needs. The latter also means money as you can sell that IDE and you'd probably come with a better one as you fix the common mistakes with other IDEs out of experience.
话虽如此:去给自己一个 IDE 或开始自己制作一个适合你所有需求的。后者也意味着金钱,因为您可以出售该 IDE,并且当您根据经验修复其他 IDE 的常见错误时,您可能会得到更好的。
回答by user889030
i believe for C++ apps development QT is best more like dot net of C++ , VS is good for dot net c# gui apps development.
我相信对于 C++ 应用程序开发 QT 更像是 C++ 的 dot net,VS 适用于 dot net c# gui 应用程序开发。

