[Qt-interest] Qt guide for MFC Programmers...

BRM bm_witness at yahoo.com
Wed Jan 19 00:53:48 CET 2011


----- Original Message ----

> From: K. Frank <kfrank29.c at gmail.com>
> > There  is barely a comparison. MFC was C++ wrappers around the C WinAPI. Qt 
>is
> >  object oriented from the ground up.
> 
> It's a little unfair just to call MFC  C++ wrappers.  MFC is a fully
> object-oriented gui framework, which does,  of course, call down
> into the C WinAPI.
> 
> It was, in part, microsoft's  competitive response to Borland's
> OWL (their object-oriented gui  framework).
> 
> It's true that stylistically MFC is a bit old-fashioned (if  anything
> C++ can be called old-fashioned), but it was reasonably up to  date
> for its time.  MFC predates the C++98 standard, predates  the
> (C++) standard template library, and predates broad compiler
> support  for templates, as well as predating a lot of experience
> with C++ and improved  design concepts.

Quite true. Though it's been severely ignored by Microsoft since .Net came 
around - minor updates, patches comparatively.

<snip>
> > This was the biggest conversion for me as a
> > former MFC  developer. For core philosophy stuff, I'd probably recommend 
>"Design
> >  Patterns in Qt". As for GUI stuff, the concepts in QtGUI are similar,  
>except
> > where they are different due to Qt making proper use of C++  concepts
> > (inheritance and polymorphism).
> > ...
> >  HTH
> >
> > ----- Original Message ----
> > From: BRM <bm_witness at yahoo.com>
> >  ...
> > Anyone know of a good reference (book, website) for helping MFC  programmers
> > convert to Qt? I'd like to recommend/provide it to a  friend.
> 
> To answer Ben's original question, I honestly wouldn't try to  use
> MFC as a starting point to learn Qt, and try to set up a  translation
> or migration from MFC to Qt.  MFC and Qt are enough  different
> that I would recommend just jumping in and learning Qt on its  own.
> 
> Obviously, prior gui experience will be helpful, and some Qt  concepts
> will be familiar from MFC, but I wouldn't try to leverage MFC  experience
> in a systematic way.
> 

Well...again...I'm not talking about converting code. I'm talking about helping 
fellow developers that have a strong background in MFC ways make the conversion 
to Qt.

Ben




More information about the Qt-interest-old mailing list