Automating PyQt applications

Last edited on

Overview

To automate PyQt4 based applications with Squish for Qt please contact froglogic support. By default, Squish for Qt for Qt 4 binary releases contain Qt3Support, but this causes incompatibility with PyQt4, therefore a custom Squish build without Qt3support is needed.

Please be sure to specify the following information:

For PyQt5 based applications, it is not necessary to contact support for a custom build of Squish. Matching the compiler version, Qt version and architecture (32-bit, 64-bit) with PyQt5 should be sufficient.

Requirements of Squish for Qt

Requirements for automating PyQt applications

Getting the version of Qt libraries

Known configurations of PyQt4 binary packages

PyQt versionQt version of PyQtCompilerPlatformVC++ runtime specified in manifest of Qt DLLsPure Qt 4 / Without Qt3Support
4.4.3-14.4.1MinGWx86n/aTrue
4.5.4-14.5.2MSVC9 / VS 2008x869.0.21022.8True
4.8.3-14.7.1MSVC9 / VS 2008x869.0.21022.8True
4.8.4-14.7.2MSVC9 / VS 2008x869.0.21022.8True
4.8.5-14.7.3MSVC9 / VS 2008x869.0.21022.8True
4.8.6-14.7.4MSVC9 / VS 2008x869.0.21022.8True
4.9.1-14.8.0MSVC9 / VS 2008x869.0.21022.8True
4.10.34.8.5MSVC9 / VS 2008x649.0.21022.8True
4.11.14.8.0MSVC9 / VS 2008x869.0.21022.8True

Please note that the Qt libraries of PyQt binary packages for Windows are usually located at this path ( denotes the Python installation folder):

<python>\Lib\site-packages\PyQt4

In one case the Qt libraries were located here:

<python>\Lib\site-packages\PyQt4\bin

Compiler used for python(w).exe

The compilers used for the standard Python binary packages for Windows provided by www.python.org :

Python versionPlatformCompiler of python(w).exe
2.4.xx86MSVC7
2.5.xx86MSVC7
2.6.xx86MSVC9 / VS 2008
2.7.xx86MSVC9 / VS 2008
3.2.xx86MSVC9 / VS 2008
3.6.xx86MSVC14 / VS 2015