"Loading Qt Wrapper failed", "The specified procedure could not be found." (PyQt)

Last edited on

Symptoms

You get the following error messages in the Runner/Server log when trying to record or replay on a PyQt application:

S: Preload (...): Loading Qt Wrapper failed: The specified procedure could not be found.

S: Preload (...): Loading Qt Wrapper failed: Die angegebene Prozedur wurde nicht gefunden.

Cause - PyQt binary package incompatible with Squish binary packages

PyQt binary packages as provided by the vendor are built with these Qt 4 default modules disabled:

This makes the PyQt packages binary incompatible with the default Squish for Qt binary packages, because the latter are built with a Qt in which these modules are enabled.

So if you have built PyQt yourself, then lack of these modules will cause the binary incompatibility with the default Squish for Qt binary packages:

Please note that patching Qt may also introduce binary incompatibility.

Solution - Requesting a compatible Squish binary package

You can contact our support to request a Squish package that is binary compatible with your specific PyQt configuration.

Solution - Building Squish from source

This is typically the solution of choice if you have built Qt and PyQt yourself, and ensures that Squish will be compatible with your Qt/PyQt.

This is explained in the manual at Installing from Source Packages . (Please note that the Squish sources are only available to Squish license owners.)