Where is the documentation for the internals of Qt and the design patterns used for building it
Please point the docs for understanding the internals of Qt such as the design of the QObject class, The patterns choosen for the Qt classes. The reason for using QVariant class, e.t.c. Although Qt comes with very good documentation and examples, they mostly explain how to use them 开发者_运维百科not why it is being done that way.
Here is a blog entry that at least explains the use of private classes and d-pointers in Qt. Qt-Howto
I can't begin to answer this authoritatively, but some good resources are the description of the Qt Object Model and the QObject class reference, and the first half of this document for demystifying some of the Qt internals like signals and slots. Some of the design justifications are discussed here - why they use syntactic sugar, code generators etc.
If you want to use the documentation offline, e.g. with QtAssistant or with the help menu integrated in QtCreator, you must download it. Either you install QtCreator with the installer from (qt-project)[http://www.qt-project.org) or you install from a repository of your distribution (if you use linux).
The second option has a little problem. Ubuntu doesn't come with a complete Qt5 documentation. So you can download the necessary .qch (Qt-help-files) from my Mega account
"Introduction to Design Patterns in C++ with Qt" book very useful
精彩评论