[Development] Qt 5.2 header diff: QtWidgets

Thiago Macieira thiago.macieira at intel.com
Tue Nov 5 17:52:15 CET 2013

On terça-feira, 5 de novembro de 2013 11:09:48, Giuseppe D'Angelo wrote:
> > +#ifdef Q_OS_OSX
> > +    NSMenu* toNSMenu();
> > +    void setAsDockMenu();
> > +#endif
> Is it OK to reintroduce platform specific calls in the APIs? I would've 
> expected this kind of functionality to be provided by QtMacExtras. (No, 
> I'm not happy about that wceMenu either).

Yes. We did the same for QString and QUrl. During the 5.2 cycle, there was 
quite a discussion on where those methods should be.

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/b528188c/attachment.sig>

More information about the Development mailing list