[Development] Qt Platform Extras

Sascha Cunz sascha-ml at babbelbox.org
Mon Feb 25 17:25:05 CET 2013


On Monday, February 25, 2013 05:12:48 PM Joerg Bornemann 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.

Why would a function that is "potentially useful on more than one platform" go 
to platform extras?

Sascha



More information about the Development mailing list