Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. QA Tools
  3. Squish
  4. Squish not connecting to Application Linux
Forum Updated to NodeBB v4.3 + New Features

Squish not connecting to Application Linux

Scheduled Pinned Locked Moved Unsolved Squish
3 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Littlegodfish
    wrote on last edited by
    #1

    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!

    Screenshot from 2024-06-28 11-46-55.png
    螢幕擷取畫面 2024-06-28 154416.png

    1 Reply Last reply
    0
    • Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      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?

      Software Engineer
      The Qt Company, Oslo

      L 1 Reply Last reply
      0
      • Axel SpoerlA Axel Spoerl

        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?
        L Offline
        L Offline
        Littlegodfish
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved