Forum Discussion

scsvel's avatar
scsvel
Frequent Contributor
13 years ago

Can we know which Qt Controls version used to build the app?

Hi,



we have an application which is developed using Qt Controls and TC not able to identify the controls inside the window. We tried with TC9.0 and TC 8.2. Also we tried by replacing the 4 DLL files which we have downloaded from Qt Controls 4.8.0 support for TC8.7. But no luck.



Now we don't know using which Qt Version, developers built the app. By default, TC9.0 contains latest DLL to support the previous Qt Controls also right? OR Only specific DLLs only will support specific Qt Versions? If so, how to identify the Qt Version used for developing from our side with the help of TC or any way?



Thanks...

  • Hi Shanmugavel,



    Please make sure that all the requirements listed in the Requirements for Testing Qt Applications article are met in your application.



    We tried with TC9.0 and TC 8.2. Also we tried by replacing the 4 DLL files which we have downloaded from Qt Controls 4.8.0 support for TC8.7. But no luck.




    The Qt modules for TestComplete 8.70 are not compatible with TestComplete 8.20. Also, I recommend that you update your current TestComplete version to 8.70.727. Please refer to the Checking for Updates article to learn how to get the latest version of TestComplete.



    To find out which Qt support modules are required, you need to determine which version of the Qt Library is used by your application. Please follow these steps to do this:



    1. Download the Process Explorer tool using this link.



    2. Unzip the archive to your HDD.



    3. Run 'procexp.exe'.



    4. In the main window, please select the process name of your application.



    5. Press 'CTRL+D'. The lower 'Dll view' panel will be shown.



    6. Find 'QtCore4.dll' or 'QtGui4.dll' and you'll see the version of the Qt libraries used in your application.



    After these actions, please download only the modules for your Qt version and TestComplete version.



    Please let me know your results.
  • scsvel's avatar
    scsvel
    Frequent Contributor
    Thanks David.



    Actually I can't find QtGui4.dll or QtCore4.dll under the application path. Also I tried to view the low level DLL view in Process Explorer and no luck. But while spying the main window of my app, it shows class as QWidget only. Thats why we came to a conclusion that QtControls are used and app UI also looks like so.



    What about your thoughts? Is any possibility like with Class QWidget, other third party controls can be used?



    Thanks...

  • Hi Shanmugavel,



    In this case, please send me the full list of modules loaded to the tested application process:



    1. Run the Process Explorer tool (run the 'procexp.exe' file).



    2. In the main window, please select the process name of your application.



    3. Press 'CTRL+A'. The 'Save Process Explorer Data...' dialog will be shown and the file name in it will be equal to the name of your application's process. Choose the file path and save the file.



    4. Post the generated file here.