[Development] Qt Platform Extras

Joerg Bornemann joerg.bornemann at digia.com
Mon Feb 25 17:12:48 CET 2013


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