China Naming Network - Ziwei Dou Shu - Relationship among QT, MFC and vc++

Relationship among QT, MFC and vc++

The advantage of QT lies in its cross-platform. As far as windows is concerned, it will not be better than MFC. Under NT, the running speed and resource occupancy rate of qt are not as good as MFC.

Qt(C++) or gtk(C, gtk also has C++) is used under Linux, MFC is used under windows, and the first two are used across platforms.

Qt has a good packaging concept, low relationship with the system and low threshold. And MFC needs more time and energy to master.

To put it simply: QT and MFC are both class libraries, and VC has two understandings, one is programming with MFC; The other refers to the IDE development environment of VC.

1, if the foundation is good, such as just learning C++, I want to find a GUI library to play, but I just want to play casually. QT is well packaged and the help document is good, so I can use QT directly, and it doesn't matter if there are some strange problems.

2, if you want to learn well, want to learn deeper, think QT is very difficult, or learn VC first, learn the basics and then use QT. The development efficiency of QT is aimed at people who can use it.

3. If there is expert guidance, or the environment is good, or only a small part of QT is used, it is much easier to learn QT.