Qt Test C++ Classes

Provides classes for unit testing Qt applications and libraries. More...



Contains all the functions and declarations that are related to Qt Test



Enables introspection of signal emission


List of GUI events


Used to simulate a sequence of touch events

Detailed Description

Applications that use Qt's unit testing classes need to be configured to be built against the Qt Test module. To include the definitions of the module's classes, use the following directive:

#include <QtTest>

To link against the module, add this line to your qmake .pro file:

QT += testlib

See Qt Test Overview for an introduction on how to use Qt's unit testing features with your applications.

© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.