问:我应该使用Visual Studio,Qt Creator还是别的什么? [英] Qt: Should I use Visual Studio, Qt Creator or something else?

查看:4328
本文介绍了问:我应该使用Visual Studio,Qt Creator还是别的什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我意识到有类似的问题,但它们似乎是从Qt Creator仍然处于测试阶段时开始的,所以答案可能会从那时起改变:



我们将开始一个项目,其中包含少量需要在Windows,OS X和Linux上运行的GUI。所以选择Qt是不费脑子的,尽管我们对Qt的经验很少。



目前IDE的最佳选择是什么?



所有开发人员都将使用Windows机器,因此IDE不需要跨平台。



我们使用Visual Studio进行大多数事情,但我们大多数人也对Eclipse感到满意。



Qt Creator中的重构工具如何?我在使用Visual Studio for C ++时喜欢Visual Assist X.有人试过在Qt项目中使用它吗?



我意识到这是很多不同的问题。即使你无法回答所有问题,也请回答。



编辑:



<我可能会补充一点,我们已经拥有Visual Studio和Visual Assist许可证,因此这些费用不是问题。

解决方案

我使用带有Visual Assist的Visual C ++ 2008和带有MinGW的Qt Creator:




  • MinGW会让你疯狂,但幸运的是你可以使用Qt Creator中的VC ++编译器。

  • 调试器集成不如VC ++好。您无法设置下一条指令或执行任何花哨的操作,例如查看本地窗口中返回的函数。 GDB和蜗牛一样慢。

  • 代码导航和VA X一样好(但使用技术预览,1.2.1不是很好)

  • 代码完成是可以接受的,当然不如VA X.代码完成不适用于任何更复杂的事情,例如从QList typedef访问const_iterator的成员。

  • 比VC ++更轻的IDE,并且有更好的GUI IMO。

  • .pro文件通常比sln更容易管理



QtCreator是VC ++的一个很好的替代品,我肯定会在Linux上使用它。
如果您已经拥有VC ++ 2005或2008和VA X,我建议您安装Qt插件并使用VC ++进行开发。我还建议您并排安装Qt SDK并在MinGW和VC ++中编译以尽早发现跨平台问题!
尽量保持.pro文件与sln同步,并注意这个问题


I realize that there have been similar questions, but they seem to have been from when Qt Creator was still in beta, so the answer might have changed since then:

We are going to start a project with a small amount of GUI that needs to work on Windows, OS X and Linux. So choosing Qt was a no-brainer, even though we have little experience with Qt.

What is currently the best option for IDE?

All the developers will be using Windows machines, so the IDE does not need to be cross-platform.

We use Visual Studio for most things, but most of us are also comfortable with Eclipse.

How are the refactoring tools in Qt Creator? I like Visual Assist X when using Visual Studio for C++. Have anyone tried using that with Qt-projects?

I realize that was a lot of different questions. Please answer even if you can't answer all of them.

EDIT:

I should probable add that we already have Visual Studio and Visual Assist licenses, so the cost of those is not an issue.

解决方案

I use Visual C++ 2008 with Visual Assist and Qt Creator with MinGW:

  • MinGW will drive you nuts, but thankfully you can use the VC++ compiler in Qt Creator.
  • The debugger integration is not as good as VC++. You can't set the next instruction or do any of the fancy stuff like see what a function has returned in the locals window. GDB is as slow as a snail.
  • Code navigation is as good as VA X (but use the tech preview, 1.2.1 is not that great)
  • Code completion is acceptable, certainly not as good as VA X. Code completion doesn't work for anything a bit more complicated such as accessing the members of a const_iterator from a QList typedef.
  • Lighter IDE than VC++ and has a nicer GUI IMO.
  • .pro files are generally easier to manage than sln

QtCreator is a good alternative to VC++ and I would definitely use it on Linux. If you already have VC++ 2005 or 2008 and VA X, I recommend that you install the Qt addin and use VC++ for development. I also recommend that you install the Qt SDK side by side and compile in both MinGW and VC++ to catch cross-platforms issues early! Try to keep the .pro files in sync to the sln and beware of this issue.

这篇关于问:我应该使用Visual Studio,Qt Creator还是别的什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆