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:
Version of PyQt (ask developer or check file name of downloaded PyQt archive)
Version of Qt (see Getting the version of Qt libraries )
Whether Python, Qt, PyQt or the application are 32- or 64-bit (see Checking whether an application is 32-bit or 64-bit )
On Windows: Compiler used to compile Qt (see Detecting the compiler )
On Windows: Compiler of the .exe launcher (see Detecting the compiler )
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.
Related information¶
Requirements for automating PyQt applications
Getting the version of Qt libraries
Known configurations of PyQt4 binary packages¶
PyQt version | Qt version of PyQt | Compiler | Platform | VC++ runtime specified in manifest of Qt DLLs | Pure Qt 4 / Without Qt3Support |
---|---|---|---|---|---|
4.4.3-1 | 4.4.1 | MinGW | x86 | n/a | True |
4.5.4-1 | 4.5.2 | MSVC9 / VS 2008 | x86 | 9.0.21022.8 | True |
4.8.3-1 | 4.7.1 | MSVC9 / VS 2008 | x86 | 9.0.21022.8 | True |
4.8.4-1 | 4.7.2 | MSVC9 / VS 2008 | x86 | 9.0.21022.8 | True |
4.8.5-1 | 4.7.3 | MSVC9 / VS 2008 | x86 | 9.0.21022.8 | True |
4.8.6-1 | 4.7.4 | MSVC9 / VS 2008 | x86 | 9.0.21022.8 | True |
4.9.1-1 | 4.8.0 | MSVC9 / VS 2008 | x86 | 9.0.21022.8 | True |
4.10.3 | 4.8.5 | MSVC9 / VS 2008 | x64 | 9.0.21022.8 | True |
4.11.1 | 4.8.0 | MSVC9 / VS 2008 | x86 | 9.0.21022.8 | True |
Please note that the Qt libraries of PyQt binary packages for Windows are usually located at this path (
<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 version | Platform | Compiler of python(w).exe |
---|---|---|
2.4.x | x86 | MSVC7 |
2.5.x | x86 | MSVC7 |
2.6.x | x86 | MSVC9 / VS 2008 |
2.7.x | x86 | MSVC9 / VS 2008 |
3.2.x | x86 | MSVC9 / VS 2008 |
3.6.x | x86 | MSVC14 / VS 2015 |