Qt provides various functionality to help you develop high quality code. There are features that assist in debugging to track down bugs, and testing facilities that help to keep the bugs out.
Qt facilitates the creation of unit tests to test interfaces such as classes, functions, or whole libraries.
Qt itself has a significant number of unit tests written with the Qt Test and Qt Quick Test frameworks (
). These autotests are available for study in the
directories of the source code of each Qt module. The autotests are an important part of the continuous quality assurance in the development of Qt.
Qt Creator's full debugging workflow supports debugging both C++ and QML code as well as the ability to profile code.
更多信息，请翻阅 Qt Creator 手册 :
These pages contain suggestions for debugging under various circumstances: