Squish not connecting to Application Linux
-
Hi,
I'm currently trying out Squish as the auto testing tool for my project made from Qt 5.15.3 on Rocky Linux 8.
The Squish version I'm using is squish-7.2.1-qt515x-linux.64.
However, I was unable to connect to our application as I click on recording option, Squish will open the application(if running from terminal) but later on stopped as it fails to connect to it. Happens to qt creator, AppImage and Firefox.
The Runner/Server Log suggested that the tool kit support failed and might be a version mismatched. 5.15.3 qt vs 5.15.0 Squish but I didn't see a 5.15.3 version for Squish.Thank you for your help!
-
It's not a version mismatch, Squish for 5.15.0 should work with 5.15.3.
The Squish wrapper requires access to certain private APIs (e.g. for synthesizing mouse / keyboard events).It doesn't find those in your
libQt5Widgets
. That can have a number of reasons.- Has your binary been built exactly against Qt version installed on your system?
- Is
libQt5-qtbase-private-headers
installed?
-
Hi Axel,
Thank you for your reply.
I checked my Qt packages, and libQt5Widgets is indeed installed, but the issue persists. I decided to reinstall my environment, including qtcreator-8.0.2 (Qt version 5.15.0 (gcc_64)) and squish-for-qt-8.0.0.
Now, Squish works within QtCreator, meaning that it still doesn't connect with other applications. The recording option can only capture and generate scripts of my actions inside QtCreator but not for the applications run by QtCreator. Thanks for your help.