[Development] Qt 5.2 header diff: QtWidgets
Thiago Macieira
thiago.macieira at intel.com
Tue Nov 5 17:51:25 CET 2013
On terça-feira, 5 de novembro de 2013 11:09:48, Giuseppe D'Angelo wrote:
> > class Q_WIDGETS_EXPORT QMacCocoaViewContainer : public QWidget
> > {
> > Q_OBJECT
> >
> > public:
> > - QMacCocoaViewContainer(void *cocoaViewToWrap, QWidget *parent = 0);
> > + QMacCocoaViewContainer(NSView *cocoaViewToWrap, QWidget *parent = 0);
> >
> > virtual ~QMacCocoaViewContainer();
> >
> > - void setCocoaView(void *cocoaViewToWrap);
> > - void *cocoaView() const;
> > + void setCocoaView(NSView *view);
> > + NSView *cocoaView() const;
> >
> > private:
> > Q_DECLARE_PRIVATE(QMacCocoaViewContainer)
>
> Isn't this binary and source incompatible?
Yes.
Technically speaking, the cocoaView() const member is still binary compatible
because we're talking about a Mac here and we know its ABI does not encode
return types (except for template functions, which this one isn't).
But the constructor and the setter are definitely binary incompatible.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131105/a8f75605/attachment.sig>
More information about the Development
mailing list