When automating PySide applications one may get the following error:
ImportError: DLL load failed: The specified procedure could not be found
To avoid this error the following steps should be used.
Use a .bat file as AUT, instead of the .exe file. The .bat file contents should be similar to this:
(To look up the path of the Qt DLLs loaded by an application one can use Getting a list of DLLs currently loaded in a process .)
Ensure that the environment variable
SQUISH_LIBQTDIRis not set/not being set.
SQUISH_DIR/paths.inidoes not contain an entry that starts with