segfault using PyQt6 version 6.10.1

Phil Thompson phil at riverbankcomputing.com
Sat Dec 27 11:10:56 GMT 2025


On 26/12/2025 15:49, Dmitry Shachnev wrote:
> 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

I've reverted the change to createMimeDataFromSelection() change in 
v6.10.1 and I'll leave it at that.

Phil


More information about the PyQt mailing list