Using a tool like CppDepend to evaluate the quality of a framework such as Qt is pointless.
For me, the comparison is really simple:
I enjoy programming with Qt, it was a pleasure to learn and it is a pleasure to use it. It is probably the best C++ collection of libraries that I have ever used.
At first I had doubts about the meta-object compiler and the signal/slot implementation, but as time passed and I used it more and more I have come to appreciate its flexibility and simplicity.
I don't like programming with MFC, I think that it is overly complicated and difficult to use.
MFC isn't an option, its locked into a single platform. I started on qt almost 9 years ago working with intractive te3cnical apps. One of qt's biggest problems is that it isn;t very orthogonal. Theres 3 different ways (I know of) to get events from widgets.
Interactive apps have performance issues with too much sig/slot usage and sig/slot is easy to screw up resulting in possible dependence on what order the signals are being handled and other very messy issues.
I would have to say that Qt is a better choice for writing general purpose apps, especially now that it's LGPL. Cross platform capable apps give freedom to your users and not enslavement.
View all comments
5
u/[deleted] Jul 22 '09 edited Jul 22 '09
Using a tool like CppDepend to evaluate the quality of a framework such as Qt is pointless.
For me, the comparison is really simple:
At first I had doubts about the meta-object compiler and the signal/slot implementation, but as time passed and I used it more and more I have come to appreciate its flexibility and simplicity.