PythonQt and a Pointer-reference
Dynamic Python binding for Qt Applications
Brought to you by:
florianlink,
marcusbarann
Hey,
is it possible to call a function with a pointer-reference or reference in it (return value in the signature). The binding works (but i can not create the correct signature), but i have no plan how i can create a reference in python (with PythonQt).
f.e.
Is there any way to do that?
Thanks in advance
No, that is just not possible and does not make sense when you consider that the original value in Python can't be changed because it is just an argument to a call.
Just avoid these kind of APIs. You can remove such functions and replace them with your own, e.g. via decorators or by injecting them.