[Development] Qt Platform Extras

Sorvig Morten Morten.Sorvig at digia.com
Thu Feb 28 22:32:26 CET 2013


On Feb 28, 2013, at 4:50 PM, Thiago Macieira <thiago.macieira at intel.com>
 wrote:

> 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.

Well, we can make QtGui link to ApplicationServices if needed - It already links to CoreFoundation. Why would it be a problem in practice?

Morten


More information about the Development mailing list