views:

1330

answers:

2

Visual Studio or Eclipse - which IDE is better for Qt on Windows?
Taking into account Eclipse is free I'm especially interested in Express version of VS but I'm open to non-free versions if this would allow much better integration with Qt.

Before posting you might take a look at similar questions on SO to avoid writing what I've already read :) Looking for in-depth answers.

+3  A: 

Try Qt-Creator instead. It's still in beta but getting better each version. It may not have all the features that VS and eclipse have, but it might have the ones you need. Plus it's very tightly integrated with Qt.

PiedPiper
@PiedPiper See my answer to Paul Dixon's comment on my question.
Piotr Dobrogost
@Piotr: have you tried it?
PiedPiper
I've had terrible luck with Eclipse for embedded C++ development, and mediocre results for Eclipse with native C++ development, even though it works well for Java. Qt Creator seems to work as well as Eclipse ever did for me, but I haven't tried Eclipse in maybe 2 years (although it was billed as 'mature' at the time).
KeyserSoze
@PiedPiper I haven't yet.
Piotr Dobrogost
+5  A: 

I'll expand on my comment asking why Qt Creator isn't on your list.

I'm experienced with MSVC, and I've used Eclipse for some C++ development on Linux and been impressed with it. Despite my familiarity with these tools, I've pretty much settled on using Qt Creator for Qt based work.

Qt's signals and slots paradigm is effectively a language extension, and one that Qt Creator makes very easy to use: there's great code-completion features while writing connect() statements that intelligently display the available signals and slots on the classes you are connecting.

The help system is well integrated, the integration with the resource editor and the form designer makes it feel a little like Visual Studio too.

The debugger is adequate for most purposes, but lacks the finesse of debugging with MSVC - for some bugs I've had to drop back to using gdb manually.

The other thing I'm missing is the ability to impose some virtual organization of my code files. I can't group related classes together in the project view.

But despite those flaws, I'm loving it. Check it out!

Edit: improvements to both Eclipse and MSVC support are on the Qt Roadmap. If Qt Creator really isn't for you, I think MSVC wins, particularly if you are already familiar with it.

Paul Dixon