How efficient is the development of the qt framework?

The development efficiency of qt is very high.

Qt uses clever packaging methods to shield many pits in C++. Through the meta information compiler, the reflection mechanism similar to java is realized, and then the signal slot mechanism and attribute mechanism are realized.

Don't think that the signal slot of qt is a simple callback function. It supports multiple connection methods. It can be called synchronously and asynchronously, which is very friendly to the development of multi-threaded programs. For example, the new qt multi-threaded program suggests using a worker object to move into the worker thread, and then execute the work task through the signal slot, which is very elegant.

Qt also implemented a container class similar to stl "overwhelmingly", because the implementation of stl is slightly different on different platforms, sometimes writing cross-platform programs will accidentally encounter such a pit, use qt's container class Just avoid this situation. As it happens, I summarized some embedded material and put it at the end of the video.

The overall feeling is that qt makes c++ less like c++, but combines the feeling of a certain modern language, elegant, easy to use, and less error-prone. Combined with qt development tools, a lot of workload is reduced.860ca0d06aa28ad569bad5b198a682fb.jpeg


It just so happens that I have private information that I need here.

Guess you like

Origin blog.csdn.net/m0_67034740/article/details/129561764
Recommended