When You Need to Prepare Qt Applications for Testing

Applies to TestLeft 4.80, last modified on April 13, 2021

To test your Qt application successfully, do not rename or modify the following modules of the Qt application:

  • Qt5Gui.dll

  • Qt5Core.dll

  • Qt5Widgets.dll

TestLeft uses these libraries to recognize Qt applications and their objects.

To access protected and private properties and methods of your Qt application from tests, compile the application with debug information. See —

Preparing Visual C++ 8.0 - 12.0, 14.0 - 16.0 Applications (Unmanaged Code) for Testing

Note: By default, you can access all public methods of Qt objects from your tests.

However, you cannot access all public properties of a Qt object by default. You can access only those properties that are listed in meta-information of the object and have standard QVariant-compatible data types.

See Also

Preparing Qt Applications for Testing

Highlight search results