[Development] Platform Look and feel

lars.knoll at nokia.com lars.knoll at nokia.com
Fri Feb 10 08:59:32 CET 2012


On 2/9/12 11:02 PM, "ext Alan Alpert" <alan.alpert at nokia.com> wrote:

>On Fri, 10 Feb 2012 03:37:44 ext Thiago Lacerda wrote:
>> Hi,
>> 
>> Is there a way, on Qt5, to get the platform look and feel, without the
>> dependency of QtWidgets using QStyle?
>> Or this is a feature that needs to be discussed about or done (for 5.1
>> maybe?)?
>> 
>
>The plan I'm aware of for getting platform look and feel with QML is to
>have 
>QtQuick components for every platform. Theoretically, you could
>dynamically 
>pick the appropriate plugin at run-time and run fine as long as you stick
>to 
>the shared sub-set of API.
>
>But I say theoretically because I'm not aware of any plans to actually
>implement this. It's a feature that needs to be discussed about how it
>gets 
>done (and 5.1 at the earliest it's looking like). The closest we have now
>is 
>that the Desktop components (a labs project) tries to get hints out of
>QStyle 
>to look native across desktop platforms.

There have been some ideas how to decouple the desktop components from
QtWidgets (by making a new styling backend that's independent of widgets),
but no real work has been done so far. This is material for the time after
5.0.

Cheers,
Lars




More information about the Development mailing list