Impossible to listen to QProcess status change and termination signals

Phil Thompson phil at riverbankcomputing.com
Sun Sep 1 12:32:40 BST 2024


On 01/09/2024 07:19, Kovid Goyal wrote:
> Trying to listen to QProcess::StateChanged or QProcess::finished fails
> with error:
> 
> TypeError: unable to convert a C++ 'QProcess::ProcessState' instance
> to a Python object
> 
> Presumably this type is not registered with PyQt?

It is registered with Qt using qMetaTypeId().

Do you have a short, complete example that demonstrates the problem?

Phil


More information about the PyQt mailing list