[Development] Qt Platform Extras

Tor Arne Vestbø tor.arne.vestbo at digia.com
Mon Mar 4 14:47:34 CET 2013


On 3/4/13 13:16 , Samuel Rødal wrote:
> On 03/04/2013 01:08 PM, Sorvig Morten wrote:
>>
>> On Mar 4, 2013, at 8:13 AM, Samuel Rødal <samuel.rodal at digia.com>
>> wrote:
>>>
>>> What about things such as offscreen platform plugins used for
>>> testing? Or what about a theoretical platform plugin that would
>>> stream rendering commands to somewhere else? Imagine running
>>> wayland clients on Mac or Windows for instance, with the server
>>> being a Linux machine. Or a platform plugin that lets you run
>>> your Qt applications inside Second Life.
>>>
>>> There might be these and other use cases on Windows and Mac in
>>> the future, so I wouldn't recommend going back to the Qt 4 way of
>>> thinking.
>>
>> I don't think this is a problem in practice since you can run
>> against e.g. Wayland on on Mac and still link against
>> ApplicationServices. Of course, the native conversion functions
>> would be of little use then.
>
> True, so conversion to from "plain" structures such as CGRect etc is
> probably not a big deal. Let's however not expose any platform
> plugin implementation details in the QtCore / QtGui APIs.

Agreed. Also, as a data point, QtCore already links to ApplicationServices.

Tor Arne



More information about the Development mailing list