segfault using PyQt6 version 6.10.1

Dmitry Shachnev mitya57 at ubuntu.com
Fri Dec 26 15:49:47 GMT 2025


On Fri, Dec 26, 2025 at 02:58:26PM +0000, Phil Thompson wrote:
> This is all predicated on my interpretation of the Qt docs being correct -
> and I'm not sure it is. In the Qt source code I can't (after a very cursory
> look) find an example of a QMimeData instance with a parent.

Yeah, I also can’t find such examples in Qt source code.

And some third-party code that I found [1] does not call setParent either
when overloading this method.

[1]: https://github.com/KDE/lokalize/blob/6c2d5349996df2f543675494ac5080caad64b60d/src/xlifftextedit.cpp#L491

--
Dmitry Shachnev


More information about the PyQt mailing list