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. Help: using squish with Qt from Python on QNX
Forum Updated to NodeBB v4.3 + New Features

Help: using squish with Qt from Python on QNX

Scheduled Pinned Locked Moved Unsolved Squish
2 Posts 1 Posters 635 Views
  • 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.
  • G Offline
    G Offline
    Gr8Lakes2
    wrote on last edited by
    #1

    [Question about how to call squish functions from a Python script under QNX on a program that uses Qt.]

    Our device under test runs under QNX Neutrino OS V7.1, a Unix-like operating system. We have a working squishserver that runs on QNX.

    Presently, we're using a squishrunner that runs on windows to talk to the QNX-based squishserver.

    However, for a new effort, we'd like to call squish API functions to interrogate Qt objects from a Python script that runs on QNX. We imagine this would talk to the QNX-based squishserver.

    The Squish Python documentation makes it look like we can have a Python script that declares "import squish" and then invoke squish APIs.

    However, I'm not clear on exactly what extension libraries/files are needed behind the scenes to get this "import squish" to work. e.g. is there a file squish.so or squish.py? some file in the extensions directory?

    Questions:

    1. Can this work as I've described: a python script running on QNX enabling access to Qt GUI objects via the local squishserver?
    2. What actual files needed to be installed besides squishserver to enable the "import squish" to work from python? Please provide specific file names. Maybe something needs to be built for my environment.

    FYI:

    1. We've rebuilt our Qt libraries because we made some patches.
    2. Ignoring "import squishtest" and APIs for test execution for now.
    1 Reply Last reply
    0
    • G Offline
      G Offline
      Gr8Lakes2
      wrote on last edited by
      #2

      Looking into this further, I think "import squishtest" is what we need.

      We will look into compiling the "squishtest" module under QNX.

      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