Unsolved Using QImageCleanupFunction with PySide2
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?
SGaist Lifetime Qt Champion last edited by
Good question. What does your function look like ?