Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Qt Test C++ Classes

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

Namespaces

QTest

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

Classes

QTestEventList

List of GUI events

QTest::QTouchEventSequence

Used to simulate a sequence of touch events

QAbstractItemModelTester

Helps testing QAbstractItemModel subclasses

QSignalSpy

Enables introspection of signal emission

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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded