<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div apple-content-edited="true"><div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="font-weight: normal; ">On Nov 5, 2013, at 12:22 PM, Marc Mutz <<a href="mailto:marc.mutz@kdab.com">marc.mutz@kdab.com</a>> wrote:</div></div></span></div></span></div></div></div></div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On Tuesday, November 05, 2013 17:51:25 Thiago Macieira wrote:<br><blockquote type="cite">On terça-feira, 5 de novembro de 2013 11:09:48, Giuseppe D'Angelo wrote:<br><blockquote type="cite"><blockquote type="cite"> class Q_WIDGETS_EXPORT QMacCocoaViewContainer : public QWidget<br> {<br><br>     Q_OBJECT<br><br> public:<br>-    QMacCocoaViewContainer(void *cocoaViewToWrap, QWidget *parent =<br>0); +    QMacCocoaViewContainer(NSView *cocoaViewToWrap, QWidget<br>*parent = 0);<br><br>     virtual ~QMacCocoaViewContainer();<br><br>-    void setCocoaView(void *cocoaViewToWrap);<br>-    void *cocoaView() const;<br>+    void setCocoaView(NSView *view);<br>+    NSView *cocoaView() const;<br><br> private:<br>     Q_DECLARE_PRIVATE(QMacCocoaViewContainer)<br></blockquote><br>Isn't this binary and source incompatible?<br></blockquote><br>Yes.<br><br>Technically speaking, the cocoaView() const member is still binary<br>compatible because we're talking about a Mac here and we know its ABI does<br>not encode return types (except for template functions, which this one<br>isn't).<br></blockquote><br>And it very probably is source compatible, because assignemnt to void* still<span class="Apple-converted-space"> </span><br>works, and casts to NSView*, too.<br><br><blockquote type="cite">But the constructor and the setter are definitely binary incompatible.<br></blockquote><br>But can be overloaded on the new types, right.<br></div></blockquote><div><br></div><div>Does this 100% NEED to be reverted? It wasn't even functional until 5.2 IIRC.</div><div><br></div><div>I really hope this does not have to wait until 6.0, it was a great improvement in usability.</div><div><div style="orphans: 2; widows: 2;">-- </div><div style="orphans: 2; widows: 2;"><b>Jake Petroules</b></div><div style="orphans: 2; widows: 2;">Chief Technology Officer</div><div style="orphans: 2; widows: 2;">Petroules Corporation · <a href="http://www.petroules.com">www.petroules.com</a></div><div style="orphans: 2; widows: 2;">Email: <a href="mailto:jake.petroules@petroules.com">jake.petroules@petroules.com</a></div><div style="orphans: 2; widows: 2;"><br></div></div></div></body></html>