Help: using squish with Qt from Python on QNX
-
[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:
- Can this work as I've described: a python script running on QNX enabling access to Qt GUI objects via the local squishserver?
- 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:
- We've rebuilt our Qt libraries because we made some patches.
- Ignoring "import squishtest" and APIs for test execution for now.