Ask a Question

Lost access to Qt methods for C++ application.

clay
Contributor

Lost access to Qt methods for C++ application.

We have been using TestComplete to test C++ apps that us Qt.  Recently, we have lost all access to the Qt methods, thus breaking a large number of our Javascript code within our TestComplete projects.  As far as we can tell, no changes have been made to the TestComplete project settings.  The one thing that may be a possible cause is the C++ application builds have recently been created using debug symbols with the C++ compilter.

 

What might cause us to lose access to the Qt methods (properties seem to be visible/accessible)?  Would the Debug compiler settings cause this?  Most importantly, is there a known workaround?

 

Thanks in avance.

3 REPLIES 3
AlexKaras
Community Hero

Hi,

 

Just to double-check:

-- Is the same version of Qt library still used? Wasn't it silently changed by Development ?

-- Does TestComplete support this version of Qt (https://support.smartbear.com/testcomplete/docs/app-testing/desktop/qt/about.html#general-notes-on-t...) ?

-- Are tested application's build requirements still met (https://support.smartbear.com/testcomplete/docs/app-testing/desktop/qt/requirements.html) ?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

Alex,

Just to double-check:

-- Is the same version of Qt library still used? Wasn't it silently changed by Development ?

     Yes - no version changed.  We checked 🙂

-- Does TestComplete support this version of Qt (https://support.smartbear.com/testcomplete/docs/app-testing/desktop/qt/about.html#general-notes-on-t...) ?

     Yes - and it worked before compiler switches changes were made.

-- Are tested application's build requirements still met (https://support.smartbear.com/testcomplete/docs/app-testing/desktop/qt/requirements.html) ?

    We believe they are.  Although this is tough to verify, as the build is done through Qt and not through

    Visual Studio.  The Qt IDE is a little less friendly with regard to the instructions on this web page.  So,

    there is a possibility that this is the problem.  In particular, I have called into question the "NOOPT"

    switch with the development team.  That said, we do not believe that this is the problem.

 

Thanks, Alex.

Hi,

 

I would contact Support directly via the https://support.smartbear.com/message/?prod=TestComplete form as not a lot of people here seem to work with Qt-based applications...

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: