[Development] Feature freeze date?

lars.knoll at nokia.com lars.knoll at nokia.com
Fri Jan 6 16:45:13 CET 2012


On 1/6/12 1:59 PM, "ext Friedemann Kleint" <Friedemann.Kleint at nokia.com>
wrote:

>Hi,
>
> > The QtWidgets part of it, at least, is feature-parity with Qt 4, so
>it's technically not a *new* feature. It does, however, mean that you'll
>have less time to stabilise the code >compared to the rest of Qt. And I
>do expect this to be an area of serious interest once 5.0 is out: if we
>don't do a good job, we'll be told desktops no longer matter for >Qt,
><yadda yadda yadda. Where do you expect source compatibility to be broken?
>
>The work to be done is (as I see it):
>
>- Think of a plugin API/ class structure such for desktop themes. It
>should be usable for QtWidgets as well as for potential QML desktop
>components, so. it should
>probably go to QtGui with no dependency to the QtWidget classes
>(partially already visible in the QPlatformDialogHelper classes).  I
>seem to remember there were also plans for a separate QtDesktop library
>.. not sure if that makes sense. It has also has to account for
>different Desktops on one platform (think KDE/Gnome/Unity on Linux).
>That requires some thought and some reorganization of classes, I suppose.

I actually was seeing this mostly as 5.1 material. For widgets in 5.0 we
can IMO simply continue to use what we have and hook up the styles and
other parts that require native handles through the platform integration.

>
>- Go over the modules and factor out platform stuff like:
>
>#if defined(Q_WS_WIN)
>         SystemParametersInfo(SPI_GETDROPSHADOW, 0, &shadow, 0);
>         shadowWidth = shadow ? 0 : 6;
>     }
>#elsif defined(Q_WS_MAC)
>   shadowWidth = ....
>#endif
>
>The API needs to be as flexible as possible (QVariant themeHint(enum
>what)). Still, if the feature freeze happens before finishing the
>reorganization or important stuff that needs to go to those plugins is
>discovered later on, there is a chance for source compatibility breakage.

Same as above. I agree with you in an ideal world, and the more we can do
here for 5.0 already the better. But if we don't get it all done and do
have some platform dependencies in there, it's most likely not the end of
the world for 5.0 :)

Cheers,
Lars




More information about the Development mailing list