Using QImageCleanupFunction with PySide2
laan last edited by
I'm trying to use the cleanupFunction (QImageCleanupFunction) to provide a custom cleanup function for a QImage, but its results in a segmentation fault in the QImage constructor.
Is there any way to use a python function as a cleanupFunction with QImage in PySide2?
Good question. What does your function look like ?