[Development] QMacCocoaViewContainer changes?

René J.V. Bertin rjvbertin at gmail.com
Fri Feb 17 09:32:02 CET 2017


On Friday February 17 2017 05:39:44 Timur Pocheptsov wrote:

Hello Timur,

I was planning to, but after I gather some more observations, to get an idea if indeed the foreign NSView gets released before calling the QMacCocoaViewContainer dtor, and where. I also want to try to get some certainty that we're not talking simply talking about a regression in Qt Designer.

What is definitely new in 5.8 is qnsview_cast(), which I think warns a bit too enthusiastically about casting something not a QNSView*. It's not related to this crash, but shouldn't it at least accept instances of classes that inherit QNSView*? A simple cast won't fool the ObjC runtime anyway.

R.

>Hello,
>
>
>could you, please, create a JIRA ticket for this (if not done yet)?
>
>I remember some changes - but it was 5.6, so 5.7.1 would be also broken then ...
>
>
>Best regards,
>
>    Timur.




More information about the Development mailing list