[Development] Question about Qt's future

Thiago Macieira thiago.macieira at intel.com
Sun Apr 27 22:40:00 CEST 2014


Em dom 27 abr 2014, às 13:09:50, Peter Kümmel escreveu:
> On 26.04.2014 17:39, André Pönitz wrote:
> > You could have made the point "declarative structures are good for GUI
> > description" for Qt Widget's .ui files, after all, .ui files contents
> > pretty much _is_ declaring layout nesting and property values.
> 
> Just an idea:
> Declarative-only QML files could be translated to C++ by a tool similar
> to uic, and then used by a C++-only successor of QtWidgets.
> 
> Or are there any technical reasons why all the state-of-the-features
> provided by QML v2 could not be implemented on the C++ side assuming
> there is a QML-to-C++ code generation step?

It's possible, but there's no API in the C++ side to create the graph. Until 
such an API exists, you can't write the generator.

Care to contribute the C++ side, including passing all the reviews? Note that 
this is a major undertaking and will probably take two or three releases to 
get a minimal functional API out there. Plus the maintenance effort.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list