[Development] Qt Platform Extras

Thiago Macieira thiago.macieira at intel.com
Thu Feb 28 16:50:56 CET 2013


On quinta-feira, 28 de fevereiro de 2013 14.42.53, Tor Arne Vestbø wrote:
> I'm probably missing something obvious here, but why are these not with 
> the class that they convert from?
> 
> - conversion operator (or toFoo function if expensive)
> - constructor (explicit if expensive)

Because we cannot assure that the library that contains the class in question 
is actually linking to the necessary libraries. 

This is the case on Mac OS X. QtGui does not link to ApplicationServices, so 
it does not have access to CGRect.

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


More information about the Development mailing list