Qt is also a GUI development library, but I have never learned Qt because I am familiar with C++ Builder and meet the requirements. Since the beginning of this year, I have had some interest in artificial intelligence algorithms, and found the most popular combination of Python+Qt and Qt to deal with such problems, so I rekindled my interest in learning Qt. To sum up, developing GUI programs with Qt has the following advantages:
1. Easy to learn: Qt can develop a simple GUI program through simple drag and drop and a few lines of code. This is actually similar to C++ Builder.
2. Rich data: Compared with C++ Builder, Qt updates faster and has a larger user base.
3. Beautiful interface: Qt is easy to make beautiful interfaces and cool animations, while MFC, WTL and wxWidgets may be more troublesome.
4. Independent installation: Qt programs will eventually be compiled into local code without the support of other libraries. This is compared with other GUI languages, for example, Java needs to install virtual machines, and C# needs to install them. NET framework.
5. Cross-platform: Qt supports many operating systems. If your program needs to run on multiple platforms and you want to reduce the development cost, Qt is almost the best choice. In this respect, C++ Builder is much worse.
6. Multilingualism: Although Qt is a class library developed based on pure C++, it is bound by scripting languages such as Python and Ruby, which means that programs based on Qt can be developed in scripting languages. For example, the combination of Python+Qt mentioned above is PyQt.
Therefore, starting from today, as a small white science and engineering project, I [covering my face] intend to learn Qt from scratch and organize my learning experience into a series of articles, which is an encouragement and spur to myself. Later, on the basis of Qt, I further studied Python and PyQt.