[Development] Qt Platform Extras

Jake Thomas Petroules jake.petroules at petroules.com
Mon Feb 25 17:25:10 CET 2013


Why is that...?

Jake Petroules
Petroules Corporation (www.petroules.com)
Email: jake.petroules at petroules.com
Telephone: +1 (970) 587-3821

On Feb 25, 2013, at 11:12 AM, Joerg Bornemann <joerg.bornemann at digia.com> wrote:

> On 25/02/2013 16:27, Jake Thomas Petroules wrote:
> 
>> I'd prefer Qt namespace with no platform indicators, i.e.:
>> 
>> Qt::toHICON
>> Qt::toHBITMAP
>> Qt::toCGImageRef
>> Qt::toNSString
>> 
>> It's obvious to which platform each function belongs; there's no need to qualify it beyond necessary. If WinRT introduces an NSString class and OS X adds HBITMAPs only then should we think about adding the platform name to the function. :)
> 
> That means we're restricting ourselves to type conversion functions?
> A function that's potentially useful on more than one platform wouldn't be possible.
> 
> 
> BR,
> 
> Joerg




More information about the Development mailing list