cancel
Showing results for 
Search instead for 
Did you mean: 

Lost access to Qt methods for C++ application.

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
Community Hero

Re: Lost access to Qt methods for C++ application.

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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Contributor

Re: Lost access to Qt methods for C++ application.

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.

Community Hero

Re: Lost access to Qt methods for C++ application.

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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
New Here?
Join us and watch the welcome video:
API Testing Mistake #2
APITestingMistake#2
Top Kudoed Authors