Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt: Should I use Visual Studio, Qt Creator or something else? [closed]

Tags:

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.

like image 615
Rasmus Faber Avatar asked Oct 05 '09 10:10

Rasmus Faber


2 Answers

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.

like image 160
rpg Avatar answered Sep 25 '22 03:09

rpg


Use QtCreator, but learn key all shortcuts first.

I'm 30% faster (veeeery subjective:-) since I switched, and I tried every IDE and editor there is for several days to several years. I'm fed up with visual-something and even eclipse, my long-time favorite.

First I thought 'another ide, what a waste of these developers' time', but after some days I used Qt creator even for non-Qt C++ development.

This IDE helps you to focus on your work, hides all distraction and lets you jump instead of search. (So, no class browser desired)

like image 35
Zimmermann Avatar answered Sep 24 '22 03:09

Zimmermann