[Development] Qt Platform Extras

Sorvig Morten Morten.Sorvig at digia.com
Fri Mar 1 11:06:14 CET 2013

On Mar 1, 2013, at 10:37 AM, Jake Thomas Petroules <jake.petroules at petroules.com>

> I suppose it would not be a detriment. Where do you draw the line? Which platforms, what functions and types?

I would leave that decision to the platform maintainers. An initial minimal set would be good though, for example OS X/iOS and windows.

> Here are some candidate types for constructors and conversion operators on their corresponding Qt types, which I can think of off the top of my head:
> Windows:
> Darwin (OS X + iOS):
> CGPoint
> CGSize
> CGRect
> NSPoint
> NSSize
> NSRect
> CGImageRef
> CIImage
> NSImage
> NSString
> and CFArrayRef/NSArray <-> QList<T> ?

Seems like a good list to me. I would wait with the last one.. NSArray is really QList<QVariant>.

> I'm not sure about other platforms/environments like X11, Wayland, or perhaps GNOME.

It does require a Q_OS define, so it might not make sense for those platforms.


More information about the Development mailing list