The QTestLib framework is a tool for unit testing Qt based applications and libraries. QTestLib provides all the functionality commonly found in unit testing frameworks as well as extensions for testing graphical user interfaces. Documentation for these examples can be found via the Examples link in the main Qt documentation.