Troubleshooting Qt Applications

Applies to TestComplete 15.70, last modified on December 17, 2024

When testing Qt applications, you may come across several typical issues. Here, you can find information on these issues and recommendations on how to fix some of them.

Issues with simulating user actions in Qt 6 applications in High-DPI systems

TestComplete may fail to simulate recorded user actions over a Qt 6 application in High-DPI systems.

Issues with getting access to the application’s objects

For TestComplete to be able to access objects in a tested Qt application, their properties and methods, the following modules of the application must keep their original name. In other words, do not rename the following modules:

  • QtNGui.dll
  • QtNCore.dll
  • QtNWidgets.dll

Where N is the used Qt version: 5 or 6.

Also, we do not recommend that you modify these files. For example, your tested Qt application developers may delete unused functions from these files to reduce their size. However, TestComplete may use the deleted functions to access the application’s objects. If the required functions are deleted, TestComplete will not be able to recognize some objects in the application.

See Also

Recording Automated Tests
Recording Options Dialog
Recording Specifics

Highlight search results